Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.737/2.737, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001545/0.001545, allocations: 181 kB / 498.1 MB, free: 5.695 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.715/1.715, allocations: 223.2 MB / 0.7948 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001137, allocations: 103.8 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004379/0.0004385, allocations: 12.31 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3031, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.4926, allocations: 150 MB / 1.369 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.4929, allocations: 71.95 kB / 1.369 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02167/0.5146, allocations: 7.441 MB / 1.377 GB, free: 4.574 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.415e-06/0.5146, allocations: 0 / 1.377 GB, free: 4.574 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.781e-05/0.5147, allocations: 8 kB / 1.377 GB, free: 4.566 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008118/0.5155, allocations: 0.6655 MB / 1.377 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.5155, allocations: 8.031 kB / 1.377 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.5157, allocations: 43.58 kB / 1.377 GB, free: 3.781 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005507/0.5162, allocations: 346.7 kB / 1.378 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/0.5163, allocations: 28.42 kB / 1.378 GB, free: 3.371 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.648e-05/0.5164, allocations: 39.94 kB / 1.378 GB, free: 3.332 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.5168, allocations: 259.2 kB / 1.378 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.5168, allocations: 4 kB / 1.378 GB, free: 3.074 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.5168, allocations: 8 kB / 1.378 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.5169, allocations: 11.94 kB / 1.378 GB, free: 3.055 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.5171, allocations: 169.7 kB / 1.378 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.5185, allocations: 0.9233 MB / 1.379 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.5189, allocations: 234.5 kB / 1.379 GB, free: 1.672 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.5189, allocations: 4.156 kB / 1.379 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004316/0.5194, allocations: 314.8 kB / 1.38 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=39): time 2.475e-06/0.5194, allocations: 7.938 kB / 1.38 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39): time 0.0009011/0.5203, allocations: 0.5487 MB / 1.38 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/0.5204, allocations: 140.5 kB / 1.38 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.5207, allocations: 273.9 kB / 1.381 GB, free: 332 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.5208, allocations: 41.7 kB / 1.381 GB, free: 284 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.5209, allocations: 152.9 kB / 1.381 GB, free: 124 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.149e-05/0.521, allocations: 87.05 kB / 1.381 GB, free: 36 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.521, allocations: 12 kB / 1.381 GB, free: 24 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.5212, allocations: 350.8 kB / 1.381 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/0.5216, allocations: 236.3 kB / 1.381 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000473/0.5221, allocations: 340.7 kB / 1.382 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/0.5226, allocations: 362.7 kB / 1.382 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5226, allocations: 0 / 1.382 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001176/0.5238, allocations: 0.7773 MB / 1.383 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.5239, allocations: 138.8 kB / 1.383 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.5239, allocations: 0 / 1.383 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.524, allocations: 4 kB / 1.383 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.5242, allocations: 55.91 kB / 1.383 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.5242, allocations: 4 kB / 1.383 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007256/0.5249, allocations: 167.8 kB / 1.383 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.5251, allocations: 75.84 kB / 1.383 GB, free: 13.42 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt.u[1],extIndInt.u[2],extIndInt.u[3],extIndInt.u[4],extIndInt.y,extIndInt1.u[1],extIndInt1.u[2],extIndInt1.u[3],extIndInt1.u[4],extIndInt1.y,extIndInt2.u[1],extIndInt2.u[2],extIndInt2.u[3],extIndInt2.u[4],extIndInt2.y,extIndInt3.index,extIndInt3.u[1],extIndInt3.u[2],extIndInt3.u[3],extIndInt3.u[4],extIndInt3.y,extIndInt4.index,extIndInt4.u[1],extIndInt4.u[2],extIndInt4.u[3],extIndInt4.u[4],extIndInt4.y,$PRE.intPul.booPul.y,intPul.booPul.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,$PRE.intPul2.booPul.y,intPul2.booPul.y,$PRE.intPul3.booPul.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0003019/0.5254, allocations: 193.7 kB / 1.383 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.5254, allocations: 35.53 kB / 1.383 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006715/0.5261, allocations: 464.7 kB / 1.384 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.5261, allocations: 4 kB / 1.384 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5262, allocations: 0 / 1.384 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.5262, allocations: 8.016 kB / 1.384 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.5272, allocations: 0.8614 MB / 1.385 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5272, allocations: 0 / 1.385 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.5274, allocations: 55.91 kB / 1.385 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.5274, allocations: 4 kB / 1.385 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.5274, allocations: 8 kB / 1.385 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.5274, allocations: 4 kB / 1.385 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.5274, allocations: 7.938 kB / 1.385 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000578/0.528, allocations: 0.5108 MB / 1.385 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.076e-05/0.5281, allocations: 128.5 kB / 1.385 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.5282, allocations: 11.98 kB / 1.385 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.5283, allocations: 12 kB / 1.386 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.5284, allocations: 27.95 kB / 1.386 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.5284, allocations: 11.95 kB / 1.386 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002075/0.5286, allocations: 215.1 kB / 1.386 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5286, allocations: 0 / 1.386 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004503/0.5291, allocations: 103.9 kB / 1.386 GB, free: 10.68 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 43 ($cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt.u[1],extIndInt.u[2],extIndInt.u[3],extIndInt.u[4],extIndInt.y,extIndInt1.u[1],extIndInt1.u[2],extIndInt1.u[3],extIndInt1.u[4],extIndInt1.y,extIndInt2.u[1],extIndInt2.u[2],extIndInt2.u[3],extIndInt2.u[4],extIndInt2.y,extIndInt3.index,extIndInt3.u[1],extIndInt3.u[2],extIndInt3.u[3],extIndInt3.u[4],extIndInt3.y,extIndInt4.index,extIndInt4.u[1],extIndInt4.u[2],extIndInt4.u[3],extIndInt4.u[4],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.booPul.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002549/0.5294, allocations: 141.6 kB / 1.386 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.5304, allocations: 0.7589 MB / 1.387 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.5304, allocations: 0 / 1.387 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.5307, allocations: 204.5 kB / 1.387 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.5311, allocations: 72.53 kB / 1.387 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.5323, allocations: 0.7201 MB / 1.388 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.5328, allocations: 0.7891 MB / 1.388 GB, free: 7.895 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002183/0.533, allocations: 98.86 kB / 1.389 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.5331, allocations: 35.44 kB / 1.389 GB, free: 7.762 MB / 0.8855 GB Notification: Performance of SimCode: time 5.31e-07/0.5331, allocations: 0 / 1.389 GB, free: 7.762 MB / 0.8855 GB Notification: Performance of Templates: time 0.01042/0.5435, allocations: 5.459 MB / 1.394 GB, free: 2.352 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches