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.00166/0.00166, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002377/0.002377, allocations: 191.8 kB / 16.13 MB, free: 6.699 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.462/1.462, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.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.574/2.574, allocations: 390.2 MB / 0.6642 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 63.91 kB / 0.8119 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9716/0.9732, allocations: 140.4 MB / 0.9489 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002329/0.9756, allocations: 1.035 MB / 0.9499 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.9773, allocations: 1.31 MB / 0.9512 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.257e-05/0.9774, allocations: 9.25 kB / 0.9512 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.9775, allocations: 5.312 kB / 0.9512 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.572e-05/0.9776, allocations: 31.81 kB / 0.9513 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005964/0.9782, allocations: 236.7 kB / 0.9515 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000249/0.9785, allocations: 291.2 kB / 0.9518 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.9786, allocations: 47.44 kB / 0.9518 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.9787, allocations: 107.2 kB / 0.9519 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.9789, allocations: 98.27 kB / 0.952 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.564e-05/0.9789, allocations: 14.41 kB / 0.952 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.277e-05/0.979, allocations: 31.8 kB / 0.952 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.875e-05/0.9791, allocations: 33.84 kB / 0.9521 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.9792, allocations: 100.6 kB / 0.9522 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.9795, allocations: 322.8 kB / 0.9525 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9795, allocations: 0 / 0.9525 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.82e-07/0.9795, allocations: 1.125 kB / 0.9525 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.9795, allocations: 0 / 0.9525 GB, free: 6.414 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007761/0.9803, allocations: 0.5599 MB / 0.953 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.9803, allocations: 13.03 kB / 0.953 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.922e-05/0.9804, allocations: 29.77 kB / 0.9531 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.9806, allocations: 257.5 kB / 0.9533 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.9807, allocations: 16.72 kB / 0.9533 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.9807, allocations: 16.53 kB / 0.9533 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.9811, allocations: 180.2 kB / 0.9535 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.9811, allocations: 192 / 0.9535 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.9812, allocations: 10.17 kB / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.9812, allocations: 2.219 kB / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.9816, allocations: 130.6 kB / 0.9537 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009331/0.9826, allocations: 0.8819 MB / 0.9545 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.9829, allocations: 160.9 kB / 0.9547 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.9831, allocations: 92.02 kB / 0.9548 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.9831, allocations: 5.156 kB / 0.9548 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003597/0.9835, allocations: 178.9 kB / 0.9549 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.9835, allocations: 0 / 0.9549 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0008974/0.9844, allocations: 286.5 kB / 0.9552 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.9845, allocations: 160.5 kB / 0.9554 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.9847, allocations: 204.2 kB / 0.9556 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.9847, allocations: 34.3 kB / 0.9556 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.9848, allocations: 135.3 kB / 0.9557 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.9848, allocations: 27.98 kB / 0.9557 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.9849, allocations: 50.16 kB / 0.9558 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.985, allocations: 334.9 kB / 0.9561 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003436/0.9854, allocations: 124.8 kB / 0.9562 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.9857, allocations: 179.5 kB / 0.9564 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/0.9863, allocations: 291.1 kB / 0.9567 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.9863, allocations: 1.812 kB / 0.9567 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000878/0.9872, allocations: 404.8 kB / 0.9571 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.194e-05/0.9872, allocations: 73.48 kB / 0.9571 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.9872, allocations: 2.094 kB / 0.9571 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.9873, allocations: 6.531 kB / 0.9571 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.9874, allocations: 39.12 kB / 0.9572 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.9875, allocations: 2.656 kB / 0.9572 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.9879, allocations: 73.97 kB / 0.9573 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.988, allocations: 15.23 kB / 0.9573 GB, free: 2.297 MB / 0.7169 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.0001138/0.9881, allocations: 142 kB / 0.9574 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.9881, allocations: 20.75 kB / 0.9574 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/0.9882, allocations: 24.95 kB / 0.9574 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.9882, allocations: 10.83 kB / 0.9575 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.9882, allocations: 1.438 kB / 0.9575 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.9882, allocations: 1.438 kB / 0.9575 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.9884, allocations: 246.5 kB / 0.9577 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.9884, allocations: 1.938 kB / 0.9577 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.9885, allocations: 28.41 kB / 0.9577 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.9885, allocations: 2 kB / 0.9577 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.9886, allocations: 9.891 kB / 0.9577 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.9886, allocations: 7.125 kB / 0.9577 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9886, allocations: 0 / 0.9577 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005521/0.9891, allocations: 255.9 kB / 0.958 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.9892, allocations: 93.34 kB / 0.9581 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.9892, allocations: 7.125 kB / 0.9581 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.9893, allocations: 26.66 kB / 0.9581 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.9894, allocations: 14.2 kB / 0.9581 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.9894, allocations: 4.719 kB / 0.9581 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001102/0.9895, allocations: 145.2 kB / 0.9583 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9895, allocations: 0 / 0.9583 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002966/0.9898, allocations: 48.58 kB / 0.9583 GB, free: 1.422 MB / 0.7169 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.0001413/0.99, allocations: 107.8 kB / 0.9584 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007244/0.9907, allocations: 370.5 kB / 0.9588 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9907, allocations: 448 / 0.9588 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.991, allocations: 94.44 kB / 0.9589 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.9914, allocations: 42.53 kB / 0.9589 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.992, allocations: 382.2 kB / 0.9593 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.9921, allocations: 0.7263 MB / 0.96 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.674e-05/0.9922, allocations: 28.41 kB / 0.96 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.9923, allocations: 14.22 kB / 0.96 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.9923, allocations: 0 / 0.96 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of Templates: time 0.006436/0.9987, allocations: 2.909 MB / 0.9629 GB, free: 14.51 MB / 0.7325 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/jenkins/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