Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.302/2.302, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002201/0.002201, allocations: 180.8 kB / 487.4 MB, free: 5.051 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.663/1.663, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 103.8 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.752e-05/1.755e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.263, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8544/1.117, allocations: 148.9 MB / 1.351 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/1.118, allocations: 69.83 kB / 1.351 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01119/1.129, allocations: 3.709 MB / 1.355 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.402e-06/1.129, allocations: 4 kB / 1.355 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.227e-05/1.129, allocations: 0 / 1.355 GB, free: 33.96 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004073/1.129, allocations: 456.5 kB / 1.356 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/1.129, allocations: 11.72 kB / 1.356 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.566e-05/1.13, allocations: 16.11 kB / 1.356 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/1.13, allocations: 235.8 kB / 1.356 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/1.13, allocations: 4.391 kB / 1.356 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/1.13, allocations: 12.2 kB / 1.356 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.813e-05/1.13, allocations: 44.73 kB / 1.356 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/1.13, allocations: 119.8 kB / 1.356 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/1.13, allocations: 3.953 kB / 1.356 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/1.13, allocations: 0.6562 kB / 1.356 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.13, allocations: 3.844 kB / 1.356 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/1.131, allocations: 0.6615 MB / 1.357 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.964e-05/1.131, allocations: 41.52 kB / 1.357 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/1.131, allocations: 18.33 kB / 1.357 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-06/1.131, allocations: 0 / 1.357 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/1.131, allocations: 94.66 kB / 1.357 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/1.131, allocations: 0 / 1.357 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001831/1.131, allocations: 94.3 kB / 1.357 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/1.131, allocations: 77.67 kB / 1.357 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/1.131, allocations: 147.1 kB / 1.357 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/1.131, allocations: 29.58 kB / 1.357 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.62e-05/1.132, allocations: 118.9 kB / 1.357 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.273e-05/1.132, allocations: 13.45 kB / 1.357 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.809e-05/1.132, allocations: 0.6094 kB / 1.357 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.132, allocations: 321.4 kB / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.292e-05/1.132, allocations: 53.88 kB / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/1.132, allocations: 114.2 kB / 1.358 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/1.132, allocations: 73.47 kB / 1.358 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.132, allocations: 0 / 1.358 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004465/1.133, allocations: 200 kB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/1.133, allocations: 75 kB / 1.358 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/1.133, allocations: 4.562 kB / 1.358 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/1.133, allocations: 3.906 kB / 1.358 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.739e-05/1.133, allocations: 3.938 kB / 1.358 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/1.133, allocations: 8.094 kB / 1.358 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/1.133, allocations: 75.64 kB / 1.358 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/1.133, allocations: 17.66 kB / 1.358 GB, free: 31.72 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.501e-05/1.133, allocations: 111.6 kB / 1.358 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/1.133, allocations: 7.781 kB / 1.358 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/1.133, allocations: 11.53 kB / 1.358 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/1.133, allocations: 0 / 1.358 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/1.133, allocations: 0 / 1.358 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.133, allocations: 6.922 kB / 1.358 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/1.133, allocations: 177.2 kB / 1.358 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.134, allocations: 4 kB / 1.358 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.025e-05/1.134, allocations: 8.562 kB / 1.358 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/1.134, allocations: 0 / 1.358 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/1.134, allocations: 2.766 kB / 1.358 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/1.134, allocations: 0 / 1.358 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.134, allocations: 3.844 kB / 1.358 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/1.134, allocations: 125.8 kB / 1.359 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.357e-05/1.134, allocations: 87.86 kB / 1.359 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/1.134, allocations: 0 / 1.359 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.143e-05/1.134, allocations: 0 / 1.359 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/1.134, allocations: 10.89 kB / 1.359 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/1.134, allocations: 3.844 kB / 1.359 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.663e-05/1.134, allocations: 121.8 kB / 1.359 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.134, allocations: 0 / 1.359 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002772/1.134, allocations: 42.5 kB / 1.359 GB, free: 31.14 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001629/1.134, allocations: 113 kB / 1.359 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002604/1.135, allocations: 222.8 kB / 1.359 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/1.135, allocations: 0 / 1.359 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.485e-05/1.135, allocations: 25.58 kB / 1.359 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/1.135, allocations: 30.61 kB / 1.359 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/1.135, allocations: 153.6 kB / 1.359 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/1.136, allocations: 0.7144 MB / 1.36 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.347e-05/1.136, allocations: 10.11 kB / 1.36 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/1.136, allocations: 11.28 kB / 1.36 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.136, allocations: 0 / 1.36 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of Templates: time 0.004089/1.14, allocations: 1.958 MB / 1.362 GB, free: 29.91 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches