Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009674/0.0009673, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00101/0.00101, allocations: 177.3 kB / 15.95 MB, free: 216 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.449/1.449, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.426/2.426, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003812, allocations: 8 kB / 0.8145 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8652/0.8656, allocations: 142.3 MB / 0.9535 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001267/0.8669, allocations: 0.7234 MB / 0.9542 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.8685, allocations: 1.249 MB / 0.9554 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.07e-05/0.8685, allocations: 2.719 kB / 0.9554 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.8687, allocations: 11.86 kB / 0.9555 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.984e-05/0.8688, allocations: 42.77 kB / 0.9555 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006305/0.8694, allocations: 218.8 kB / 0.9557 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.8696, allocations: 182 kB / 0.9559 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.8698, allocations: 57.38 kB / 0.9559 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.87, allocations: 98.3 kB / 0.956 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.8701, allocations: 102.6 kB / 0.9561 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.8701, allocations: 12.44 kB / 0.9561 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.988e-05/0.8702, allocations: 21.45 kB / 0.9562 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.8703, allocations: 29.66 kB / 0.9562 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.413e-05/0.8704, allocations: 63.06 kB / 0.9563 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.8706, allocations: 273.5 kB / 0.9565 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.8706, allocations: 0 / 0.9565 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8707, allocations: 0 / 0.9565 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.8707, allocations: 0 / 0.9565 GB, free: 5.766 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008194/0.8715, allocations: 0.595 MB / 0.9571 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.8715, allocations: 8.812 kB / 0.9571 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.079e-05/0.8716, allocations: 31.2 kB / 0.9571 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.8719, allocations: 260.3 kB / 0.9574 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.872, allocations: 12.61 kB / 0.9574 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/0.872, allocations: 15.25 kB / 0.9574 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004935/0.8725, allocations: 206.4 kB / 0.9576 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.8726, allocations: 4.531 kB / 0.9576 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.8726, allocations: 6.469 kB / 0.9576 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.8726, allocations: 2.5 kB / 0.9576 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005699/0.8732, allocations: 209.9 kB / 0.9578 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.8742, allocations: 0.6464 MB / 0.9584 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005019/0.8748, allocations: 207.5 kB / 0.9586 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.8748, allocations: 6 kB / 0.9587 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004786/0.8753, allocations: 209.2 kB / 0.9588 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 2.475e-06/0.8753, allocations: 0 / 0.9588 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001206/0.8765, allocations: 0.5003 MB / 0.9593 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.8766, allocations: 110.6 kB / 0.9594 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.8768, allocations: 206.5 kB / 0.9596 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.8768, allocations: 34.73 kB / 0.9597 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/0.8769, allocations: 126.8 kB / 0.9598 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.877, allocations: 59.84 kB / 0.9599 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.877, allocations: 8.062 kB / 0.9599 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.8771, allocations: 335.5 kB / 0.9602 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004375/0.8775, allocations: 176 kB / 0.9603 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/0.878, allocations: 216.2 kB / 0.9606 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.8784, allocations: 285.1 kB / 0.9608 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.8785, allocations: 4.969 kB / 0.9608 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001148/0.8796, allocations: 0.566 MB / 0.9614 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.352e-05/0.8797, allocations: 129.5 kB / 0.9615 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.8797, allocations: 1.156 kB / 0.9615 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.8798, allocations: 2.25 kB / 0.9615 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.88, allocations: 43.3 kB / 0.9616 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.88, allocations: 2.062 kB / 0.9616 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005118/0.8805, allocations: 116.9 kB / 0.9617 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.498e-05/0.8806, allocations: 35.33 kB / 0.9617 GB, free: 1.871 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pul.booPul.y,pul.booPul.y,$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 (20): * Single equations (assignments): 16 * 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.0001657/0.8808, allocations: 195.9 kB / 0.9619 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.8808, allocations: 20.83 kB / 0.9619 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.703e-05/0.8809, allocations: 22.23 kB / 0.9619 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.8809, allocations: 2.656 kB / 0.9619 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.8809, allocations: 4 kB / 0.9619 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.8809, allocations: 1.188 kB / 0.9619 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.882, allocations: 0.7314 MB / 0.9626 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.882, allocations: 1.156 kB / 0.9626 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.8821, allocations: 38.03 kB / 0.9627 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.8822, allocations: 1.031 kB / 0.9627 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.8822, allocations: 13.89 kB / 0.9627 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8822, allocations: 1.125 kB / 0.9627 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8822, allocations: 1.031 kB / 0.9627 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008167/0.883, allocations: 491.1 kB / 0.9632 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.8831, allocations: 94.81 kB / 0.9633 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.8831, allocations: 5.547 kB / 0.9633 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.8833, allocations: 35.62 kB / 0.9633 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.365e-05/0.8834, allocations: 18.91 kB / 0.9633 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-05/0.8835, allocations: 22.22 kB / 0.9633 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001547/0.8837, allocations: 150.2 kB / 0.9635 GB, free: 488 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8837, allocations: 0 / 0.9635 GB, free: 488 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004002/0.8841, allocations: 65.56 kB / 0.9635 GB, free: 472 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0002125/0.8843, allocations: 121.1 kB / 0.9637 GB, free: 364 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.8855, allocations: 0.5857 MB / 0.9642 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.8855, allocations: 1.031 kB / 0.9642 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004454/0.886, allocations: 267.4 kB / 0.9645 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.8863, allocations: 48.11 kB / 0.9645 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009531/0.8873, allocations: 464.6 kB / 0.965 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.8877, allocations: 0.7415 MB / 0.9657 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001432/0.8878, allocations: 42.69 kB / 0.9657 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.8879, allocations: 16.66 kB / 0.9658 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of SimCode: time 7.21e-07/0.8879, allocations: 7.875 kB / 0.9658 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of Templates: time 0.007703/0.8956, allocations: 3.257 MB / 0.9689 GB, free: 13.04 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches