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/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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001794/0.001794, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.205/2.205, allocations: 390.3 MB / 0.6653 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 65.12 kB / 0.8132 GB, free: 32.98 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.33, allocations: 140.4 MB / 0.9503 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002911/0.3329, allocations: 0.9818 MB / 0.9512 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002468/0.3354, allocations: 1.272 MB / 0.9525 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.3356, allocations: 4 kB / 0.9525 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.3358, allocations: 11.81 kB / 0.9525 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.336, allocations: 43.58 kB / 0.9525 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009566/0.337, allocations: 258.7 kB / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005546/0.3375, allocations: 343.2 kB / 0.9531 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.3378, allocations: 53.53 kB / 0.9532 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.338, allocations: 119.7 kB / 0.9533 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.3383, allocations: 107.6 kB / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.3384, allocations: 28 kB / 0.9534 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.3386, allocations: 51.97 kB / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.871e-05/0.3387, allocations: 35.84 kB / 0.9535 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.3388, allocations: 115.5 kB / 0.9536 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004652/0.3393, allocations: 331.3 kB / 0.9539 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3393, allocations: 0 / 0.9539 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3393, allocations: 0 / 0.9539 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.3394, allocations: 0 / 0.9539 GB, free: 5.102 MB / 0.7325 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.001147/0.3405, allocations: 0.576 MB / 0.9545 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3406, allocations: 12.03 kB / 0.9545 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.861e-05/0.3407, allocations: 24.66 kB / 0.9545 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.341, allocations: 255.7 kB / 0.9548 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.3411, allocations: 8.375 kB / 0.9548 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.3411, allocations: 16.38 kB / 0.9548 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005526/0.3417, allocations: 178.3 kB / 0.955 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3417, allocations: 4.188 kB / 0.955 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.3417, allocations: 3.938 kB / 0.955 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.3417, allocations: 7.984 kB / 0.955 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005304/0.3423, allocations: 139.8 kB / 0.9551 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.3436, allocations: 0.8798 MB / 0.956 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.344, allocations: 161 kB / 0.9561 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.3443, allocations: 92.28 kB / 0.9562 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.3443, allocations: 3.938 kB / 0.9562 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004924/0.3448, allocations: 183.5 kB / 0.9564 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/0.3448, allocations: 0 / 0.9564 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.001107/0.3459, allocations: 281.2 kB / 0.9567 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001712/0.3461, allocations: 166.5 kB / 0.9568 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.3464, allocations: 203 kB / 0.957 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.3465, allocations: 37.64 kB / 0.957 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.3466, allocations: 132.2 kB / 0.9572 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.3467, allocations: 31.61 kB / 0.9572 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.3468, allocations: 49.69 kB / 0.9572 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.347, allocations: 326.8 kB / 0.9576 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003855/0.3473, allocations: 127.8 kB / 0.9577 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.3477, allocations: 175.6 kB / 0.9578 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000663/0.3484, allocations: 298.9 kB / 0.9581 GB, free: 376 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3484, allocations: 0 / 0.9581 GB, free: 376 kB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001121/0.3496, allocations: 404.7 kB / 0.9585 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.71e-05/0.3496, allocations: 71.39 kB / 0.9586 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.3497, allocations: 4 kB / 0.9586 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.3497, allocations: 0 / 0.9586 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.3499, allocations: 39.84 kB / 0.9586 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3499, allocations: 4 kB / 0.9586 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/0.3504, allocations: 71.91 kB / 0.9587 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/0.3504, allocations: 23.98 kB / 0.9587 GB, free: 15.73 MB / 0.7481 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,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002102/0.3507, allocations: 141.3 kB / 0.9589 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.3507, allocations: 19.81 kB / 0.9589 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/0.3508, allocations: 16.94 kB / 0.9589 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.3508, allocations: 7.938 kB / 0.9589 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3508, allocations: 0 / 0.9589 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.3508, allocations: 7.984 kB / 0.9589 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.3511, allocations: 245.5 kB / 0.9591 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3511, allocations: 3.938 kB / 0.9591 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.3512, allocations: 23.97 kB / 0.9592 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.3512, allocations: 4 kB / 0.9592 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.3513, allocations: 4 kB / 0.9592 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3513, allocations: 3.938 kB / 0.9592 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3513, allocations: 4 kB / 0.9592 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000673/0.352, allocations: 264.1 kB / 0.9594 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.352, allocations: 88.92 kB / 0.9595 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.3521, allocations: 4 kB / 0.9595 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.3522, allocations: 27.91 kB / 0.9595 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.3523, allocations: 16.39 kB / 0.9596 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.3523, allocations: 8 kB / 0.9596 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000149/0.3525, allocations: 152.4 kB / 0.9597 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3525, allocations: 0 / 0.9597 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003258/0.3528, allocations: 51.84 kB / 0.9598 GB, free: 14.55 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002779/0.3531, allocations: 107.2 kB / 0.9599 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009367/0.354, allocations: 382.6 kB / 0.9602 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.354, allocations: 0 / 0.9602 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.3544, allocations: 100.5 kB / 0.9603 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.3548, allocations: 55.89 kB / 0.9604 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00086/0.3557, allocations: 356.7 kB / 0.9607 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.3561, allocations: 0.7317 MB / 0.9614 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.052e-05/0.3562, allocations: 15.44 kB / 0.9615 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.3562, allocations: 3.938 kB / 0.9615 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of Templates: time 0.006024/0.3622, allocations: 2.712 MB / 0.9641 GB, free: 10.04 MB / 0.7481 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches