Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_10_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.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001602/0.001602, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.783/2.783, allocations: 437.7 MB / 0.7117 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003865, allocations: 11.94 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8313/0.8317, allocations: 153.8 MB / 1.022 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001166/0.833, allocations: 0.6922 MB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.8345, allocations: 1.308 MB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.844e-05/0.8346, allocations: 0 / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.8347, allocations: 15.88 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.265e-05/0.8348, allocations: 35.69 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006493/0.8355, allocations: 220.2 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.8358, allocations: 311.3 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.836, allocations: 69.52 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.8362, allocations: 119.7 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.8365, allocations: 135.5 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.8365, allocations: 12 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.647e-05/0.8366, allocations: 23.98 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.487e-05/0.8366, allocations: 39.84 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.923e-05/0.8367, allocations: 65.58 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.837, allocations: 281.3 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.837, allocations: 0 / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.214e-06/0.837, allocations: 0 / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.837, allocations: 0 / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007826/0.8378, allocations: 0.5719 MB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.8379, allocations: 8.562 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.857e-05/0.8379, allocations: 39.62 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008737/0.8388, allocations: 385.5 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.8389, allocations: 19.94 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/0.8389, allocations: 19.95 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.8393, allocations: 217.8 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.8394, allocations: 0 / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.8394, allocations: 11.94 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.8394, allocations: 4 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004609/0.8399, allocations: 167.8 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.8409, allocations: 0.9225 MB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.8412, allocations: 165 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.8415, allocations: 92.23 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.8415, allocations: 4 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003792/0.8419, allocations: 175.5 kB / 1.028 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.8419, allocations: 4 kB / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0008407/0.8427, allocations: 293.3 kB / 1.029 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/0.8428, allocations: 154.2 kB / 1.029 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.8431, allocations: 229.2 kB / 1.029 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.8431, allocations: 29.7 kB / 1.029 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.8432, allocations: 148.3 kB / 1.029 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.8433, allocations: 43.48 kB / 1.029 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.007e-05/0.8433, allocations: 0 / 1.029 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.8434, allocations: 334.8 kB / 1.03 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.8437, allocations: 111.9 kB / 1.03 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.844, allocations: 167.6 kB / 1.03 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.8444, allocations: 175.3 kB / 1.03 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.8444, allocations: 0 / 1.03 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008281/0.8452, allocations: 404.6 kB / 1.03 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.856e-05/0.8453, allocations: 68.8 kB / 1.03 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.8453, allocations: 0 / 1.03 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.8453, allocations: 4 kB / 1.03 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.8455, allocations: 39.97 kB / 1.03 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.8455, allocations: 7.984 kB / 1.03 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.8459, allocations: 95.77 kB / 1.031 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.846, allocations: 19.98 kB / 1.031 GB, free: 7.426 MB / 0.7794 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 () * Number of clocked 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.0001551/0.8461, allocations: 153.7 kB / 1.031 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.8462, allocations: 23.8 kB / 1.031 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.636e-05/0.8462, allocations: 21.25 kB / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.8462, allocations: 0 / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.8463, allocations: 4 kB / 1.031 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.8463, allocations: 3.984 kB / 1.031 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.8465, allocations: 249.6 kB / 1.031 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.8465, allocations: 8.422 kB / 1.031 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.8467, allocations: 31.97 kB / 1.031 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.8467, allocations: 4 kB / 1.031 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.8467, allocations: 4 kB / 1.031 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.8467, allocations: 15.86 kB / 1.031 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.8467, allocations: 0 / 1.031 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005436/0.8473, allocations: 260.1 kB / 1.031 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.8473, allocations: 100.9 kB / 1.031 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.8474, allocations: 8 kB / 1.031 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.8475, allocations: 27.91 kB / 1.031 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/0.8476, allocations: 15.98 kB / 1.031 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.8476, allocations: 4 kB / 1.031 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001286/0.8477, allocations: 156.5 kB / 1.032 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8477, allocations: 0 / 1.032 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002925/0.848, allocations: 51.84 kB / 1.032 GB, free: 6.195 MB / 0.7794 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 () * Number of clocked 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.0001608/0.8482, allocations: 115.2 kB / 1.032 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007168/0.8489, allocations: 354.6 kB / 1.032 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.8489, allocations: 4 kB / 1.032 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.8492, allocations: 100.3 kB / 1.032 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.8496, allocations: 40.36 kB / 1.032 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006847/0.8503, allocations: 444.2 kB / 1.033 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.8506, allocations: 0.7518 MB / 1.033 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001541/0.8508, allocations: 29.53 kB / 1.033 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/0.8508, allocations: 19.44 kB / 1.033 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.8508, allocations: 4 kB / 1.033 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of Templates: time 0.006306/0.8571, allocations: 2.663 MB / 1.036 GB, free: 1.637 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches