Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006773/0.006773, allocations: 98.16 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.001209, allocations: 196.1 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.308/2.308, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 59.91 kB / 0.9509 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.102, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002127/1.104, allocations: 0.8837 MB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001978/1.106, allocations: 1.293 MB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.1e-05/1.106, allocations: 1.406 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001304/1.106, allocations: 15.42 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.631e-05/1.106, allocations: 37.3 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008254/1.107, allocations: 261.9 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004476/1.108, allocations: 340.7 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/1.108, allocations: 61.47 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/1.108, allocations: 129.1 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/1.108, allocations: 108.7 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.399e-05/1.108, allocations: 29.66 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/1.108, allocations: 48.83 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.227e-05/1.109, allocations: 54.66 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/1.109, allocations: 115.3 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005654/1.109, allocations: 352.7 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.109, allocations: 8.656 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.595e-06/1.109, allocations: 0 / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.26e-05/1.109, allocations: 0.6875 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007155/1.11, allocations: 0.5472 MB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/1.11, allocations: 9.219 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.775e-05/1.11, allocations: 28.19 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006519/1.111, allocations: 301.5 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/1.111, allocations: 13.48 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/1.111, allocations: 24.28 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/1.111, allocations: 153.5 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.111, allocations: 4.688 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/1.111, allocations: 2.156 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/1.111, allocations: 2.656 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/1.111, allocations: 72.06 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007768/1.112, allocations: 0.7583 MB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.273e-05/1.112, allocations: 62.48 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.753e-05/1.112, allocations: 24.77 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/1.112, allocations: 4 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/1.113, allocations: 100.9 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/1.113, allocations: 0.9688 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0003149/1.113, allocations: 129.6 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/1.113, allocations: 83.2 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/1.113, allocations: 214.9 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/1.113, allocations: 30.02 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.332e-05/1.113, allocations: 140.4 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/1.113, allocations: 24.06 kB / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/1.114, allocations: 68.7 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.391e-05/1.114, allocations: 332.4 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/1.114, allocations: 66.73 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/1.114, allocations: 125.1 kB / 1.095 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/1.114, allocations: 197.6 kB / 1.095 GB, free: 436 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.114, allocations: 1.125 kB / 1.095 GB, free: 436 kB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005131/1.115, allocations: 302.4 kB / 1.095 GB, free: 256 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.812e-05/1.115, allocations: 63.41 kB / 1.095 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.115, allocations: 1.812 kB / 1.095 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/1.115, allocations: 2.562 kB / 1.095 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.861e-05/1.115, allocations: 9.094 kB / 1.095 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/1.115, allocations: 7.125 kB / 1.095 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/1.115, allocations: 73.47 kB / 1.095 GB, free: 176 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/1.115, allocations: 16.73 kB / 1.095 GB, free: 172 kB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001267/1.115, allocations: 146.3 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/1.116, allocations: 19.28 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/1.116, allocations: 20.52 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.116, allocations: 1.219 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.116, allocations: 1.484 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/1.116, allocations: 4.812 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/1.116, allocations: 229.4 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.116, allocations: 0.6562 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/1.116, allocations: 12.45 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/1.116, allocations: 2.484 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/1.116, allocations: 0.8125 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/1.116, allocations: 2.453 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.116, allocations: 0 / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/1.116, allocations: 145.8 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/1.116, allocations: 95.17 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/1.116, allocations: 1.641 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.335e-05/1.116, allocations: 5.797 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/1.116, allocations: 6.281 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/1.116, allocations: 7.828 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00014/1.117, allocations: 141.5 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.184e-06/1.117, allocations: 1.438 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002999/1.117, allocations: 61.12 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001722/1.117, allocations: 106 kB / 1.096 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004552/1.118, allocations: 260.9 kB / 1.097 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.118, allocations: 1.031 kB / 1.097 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.706e-05/1.118, allocations: 34.09 kB / 1.097 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/1.118, allocations: 31.77 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000587/1.119, allocations: 306.6 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/1.119, allocations: 0.7238 MB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.551e-05/1.119, allocations: 24.77 kB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/1.119, allocations: 15.72 kB / 1.098 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/1.119, allocations: 0 / 1.098 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of Templates: time 0.006831/1.126, allocations: 2.538 MB / 1.1 GB, free: 14 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches