Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.000981/0.0009809, allocations: 176.9 kB / 492.3 MB, free: 0.6094 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.645/1.645, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0009869/0.0009873, allocations: 97.94 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.734e-05/5.745e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3459, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.046/1.392, allocations: 149.7 MB / 1.359 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/1.392, allocations: 70.48 kB / 1.359 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01292/1.405, allocations: 4.278 MB / 1.363 GB, free: 34.47 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.664e-06/1.405, allocations: 0 / 1.363 GB, free: 34.47 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.607e-05/1.405, allocations: 3.906 kB / 1.363 GB, free: 34.47 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006951/1.406, allocations: 0.512 MB / 1.363 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/1.406, allocations: 11.53 kB / 1.363 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/1.406, allocations: 30.58 kB / 1.363 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/1.406, allocations: 243.4 kB / 1.364 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/1.406, allocations: 12.33 kB / 1.364 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/1.406, allocations: 14.53 kB / 1.364 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/1.406, allocations: 132.6 kB / 1.364 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/1.406, allocations: 3.938 kB / 1.364 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/1.406, allocations: 11.69 kB / 1.364 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/1.406, allocations: 7.953 kB / 1.364 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/1.407, allocations: 65.05 kB / 1.364 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/1.408, allocations: 0.8901 MB / 1.365 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/1.408, allocations: 129.5 kB / 1.365 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.763e-05/1.408, allocations: 60.58 kB / 1.365 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/1.408, allocations: 0 / 1.365 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/1.408, allocations: 148.4 kB / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/1.408, allocations: 0 / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0003499/1.409, allocations: 147 kB / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/1.409, allocations: 160.7 kB / 1.365 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/1.409, allocations: 177.3 kB / 1.366 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/1.409, allocations: 32.92 kB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/1.409, allocations: 133.8 kB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/1.409, allocations: 25.98 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/1.409, allocations: 6.906 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.409, allocations: 335.6 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/1.409, allocations: 80.17 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/1.41, allocations: 139.4 kB / 1.366 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/1.41, allocations: 138.8 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.41, allocations: 0 / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005092/1.41, allocations: 334.9 kB / 1.367 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.384e-05/1.41, allocations: 71.47 kB / 1.367 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/1.41, allocations: 7.812 kB / 1.367 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/1.41, allocations: 7.875 kB / 1.367 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/1.411, allocations: 39.73 kB / 1.367 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/1.411, allocations: 3.938 kB / 1.367 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/1.411, allocations: 107.2 kB / 1.367 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/1.411, allocations: 14.17 kB / 1.367 GB, free: 31.68 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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 0.0001135/1.411, allocations: 130.2 kB / 1.367 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/1.411, allocations: 15.66 kB / 1.367 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.178e-05/1.411, allocations: 30.02 kB / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/1.411, allocations: 0 / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.411, allocations: 3.812 kB / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/1.411, allocations: 0 / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/1.412, allocations: 242.2 kB / 1.367 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/1.412, allocations: 3.844 kB / 1.367 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/1.412, allocations: 35.44 kB / 1.367 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/1.412, allocations: 3.906 kB / 1.367 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/1.412, allocations: 6.578 kB / 1.367 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/1.412, allocations: 7.75 kB / 1.367 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.412, allocations: 0 / 1.367 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/1.412, allocations: 224.2 kB / 1.368 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/1.412, allocations: 99.86 kB / 1.368 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/1.412, allocations: 2.625 kB / 1.368 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/1.412, allocations: 36.56 kB / 1.368 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.319e-05/1.412, allocations: 21.14 kB / 1.368 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/1.412, allocations: 9.391 kB / 1.368 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001249/1.413, allocations: 143.3 kB / 1.368 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.413, allocations: 0 / 1.368 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002917/1.413, allocations: 53.28 kB / 1.368 GB, free: 30.96 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0001955/1.413, allocations: 118.6 kB / 1.368 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004464/1.414, allocations: 303.8 kB / 1.368 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.414, allocations: 0 / 1.368 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/1.414, allocations: 56.8 kB / 1.368 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/1.414, allocations: 42.23 kB / 1.368 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/1.415, allocations: 227.2 kB / 1.369 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/1.415, allocations: 0.7344 MB / 1.369 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.835e-05/1.415, allocations: 27.09 kB / 1.369 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/1.415, allocations: 18 kB / 1.369 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of SimCode: time 4.4e-07/1.415, allocations: 0 / 1.369 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of Templates: time 0.006176/1.421, allocations: 2.785 MB / 1.372 GB, free: 29.64 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches