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.589/2.589, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001036/0.001036, allocations: 184.8 kB / 487.4 MB, free: 5.062 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.477/1.477, allocations: 221.5 MB / 0.7824 GB, free: 1.035 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.0009243/0.0009242, allocations: 103.5 kB / 0.9219 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.669e-05/1.681e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3119, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.064/1.376, allocations: 149 MB / 1.352 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/1.377, allocations: 70.56 kB / 1.352 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01352/1.39, allocations: 4.254 MB / 1.356 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.144e-06/1.39, allocations: 4.75 kB / 1.356 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.483e-05/1.39, allocations: 3.875 kB / 1.356 GB, free: 33.9 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.0007651/1.391, allocations: 0.5113 MB / 1.356 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.391, allocations: 8.547 kB / 1.356 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.287e-05/1.391, allocations: 27.06 kB / 1.356 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/1.392, allocations: 242.3 kB / 1.356 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/1.392, allocations: 4.406 kB / 1.357 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/1.392, allocations: 12.34 kB / 1.357 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001468/1.392, allocations: 65.62 kB / 1.357 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/1.392, allocations: 124.5 kB / 1.357 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.392, allocations: 0 / 1.357 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/1.392, allocations: 4.609 kB / 1.357 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.392, allocations: 3.812 kB / 1.357 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009985/1.393, allocations: 0.867 MB / 1.358 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/1.393, allocations: 124.6 kB / 1.358 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.084e-05/1.393, allocations: 52.7 kB / 1.358 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/1.393, allocations: 3.938 kB / 1.358 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/1.393, allocations: 141.9 kB / 1.358 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/1.393, allocations: 0 / 1.358 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0002705/1.394, allocations: 131.2 kB / 1.358 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/1.394, allocations: 164.8 kB / 1.358 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/1.394, allocations: 168.4 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/1.394, allocations: 33.52 kB / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/1.394, allocations: 129.4 kB / 1.358 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/1.394, allocations: 26.06 kB / 1.358 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/1.394, allocations: 7.031 kB / 1.358 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.394, allocations: 326.2 kB / 1.359 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/1.394, allocations: 80.12 kB / 1.359 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/1.395, allocations: 134.7 kB / 1.359 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/1.395, allocations: 98.78 kB / 1.359 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.395, allocations: 4 kB / 1.359 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005425/1.395, allocations: 266.7 kB / 1.359 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.816e-05/1.396, allocations: 74 kB / 1.359 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.515e-06/1.396, allocations: 3.812 kB / 1.359 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/1.396, allocations: 3.969 kB / 1.359 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/1.396, allocations: 40.61 kB / 1.359 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/1.396, allocations: 7.812 kB / 1.359 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/1.396, allocations: 108.1 kB / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/1.396, allocations: 14.73 kB / 1.36 GB, free: 31.27 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.000106/1.396, allocations: 120.1 kB / 1.36 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/1.396, allocations: 19.34 kB / 1.36 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/1.396, allocations: 18.31 kB / 1.36 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.396, allocations: 3.812 kB / 1.36 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.396, allocations: 0 / 1.36 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.396, allocations: 0 / 1.36 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/1.397, allocations: 211.5 kB / 1.36 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.397, allocations: 3.844 kB / 1.36 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/1.397, allocations: 42.33 kB / 1.36 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/1.397, allocations: 8.016 kB / 1.36 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/1.397, allocations: 10.75 kB / 1.36 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.397, allocations: 0 / 1.36 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.397, allocations: 0 / 1.36 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/1.397, allocations: 226.7 kB / 1.36 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/1.397, allocations: 96.55 kB / 1.36 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/1.397, allocations: 0 / 1.36 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/1.397, allocations: 40.3 kB / 1.36 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/1.397, allocations: 11.2 kB / 1.36 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/1.397, allocations: 14.69 kB / 1.36 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001055/1.398, allocations: 135.3 kB / 1.361 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.398, allocations: 0 / 1.361 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00028/1.398, allocations: 53.41 kB / 1.361 GB, free: 30.58 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.0001626/1.398, allocations: 117.4 kB / 1.361 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003499/1.398, allocations: 281.6 kB / 1.361 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.398, allocations: 0 / 1.361 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/1.398, allocations: 55.19 kB / 1.361 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/1.399, allocations: 39.88 kB / 1.361 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/1.399, allocations: 221.1 kB / 1.361 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/1.4, allocations: 0.7294 MB / 1.362 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.986e-05/1.4, allocations: 22.89 kB / 1.362 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/1.4, allocations: 15.12 kB / 1.362 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/1.4, allocations: 0 / 1.362 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of Templates: time 0.004915/1.405, allocations: 2.537 MB / 1.364 GB, free: 29.31 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