Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001614/0.001614, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.551/1.551, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.629/2.629, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 67.89 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7998/0.8012, allocations: 140.4 MB / 0.9491 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001777/0.803, allocations: 0.7624 MB / 0.9499 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.8043, allocations: 1.236 MB / 0.9511 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.8044, allocations: 5.938 kB / 0.9511 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.8045, allocations: 12.97 kB / 0.9511 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.997e-05/0.8045, allocations: 13.97 kB / 0.9511 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005993/0.8051, allocations: 210.6 kB / 0.9513 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.8054, allocations: 260.8 kB / 0.9515 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.8055, allocations: 36.3 kB / 0.9516 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.8056, allocations: 107.8 kB / 0.9517 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.8058, allocations: 103.3 kB / 0.9518 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.8059, allocations: 18.22 kB / 0.9518 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.449e-05/0.806, allocations: 37.66 kB / 0.9518 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.22e-05/0.806, allocations: 28.11 kB / 0.9519 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.8061, allocations: 84.23 kB / 0.9519 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.8064, allocations: 218.3 kB / 0.9521 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.8064, allocations: 1.5 kB / 0.9522 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.485e-06/0.8064, allocations: 0 / 0.9522 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.8064, allocations: 0 / 0.9522 GB, free: 7.078 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004709/0.8069, allocations: 0.4936 MB / 0.9526 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.8069, allocations: 14.38 kB / 0.9526 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.086e-05/0.807, allocations: 19.72 kB / 0.9527 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004999/0.8075, allocations: 253.2 kB / 0.9529 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.8075, allocations: 18.06 kB / 0.9529 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.8076, allocations: 14.25 kB / 0.9529 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.8078, allocations: 137.7 kB / 0.9531 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.8078, allocations: 4.875 kB / 0.9531 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.8078, allocations: 5.125 kB / 0.9531 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.8078, allocations: 6.062 kB / 0.9531 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.361e-05/0.8079, allocations: 50.88 kB / 0.9531 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.8084, allocations: 0.6686 MB / 0.9538 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.952e-05/0.8084, allocations: 42.45 kB / 0.9538 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.185e-05/0.8085, allocations: 18.34 kB / 0.9538 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-06/0.8085, allocations: 4 kB / 0.9538 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.8086, allocations: 93.41 kB / 0.9539 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.8086, allocations: 0 / 0.9539 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002123/0.8089, allocations: 99.97 kB / 0.954 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.8089, allocations: 83.7 kB / 0.9541 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.809, allocations: 168.2 kB / 0.9543 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.8091, allocations: 33.55 kB / 0.9543 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.397e-05/0.8091, allocations: 122.6 kB / 0.9544 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.11e-05/0.8092, allocations: 11.12 kB / 0.9544 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.583e-05/0.8092, allocations: 55.58 kB / 0.9545 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.824e-05/0.8093, allocations: 326 kB / 0.9548 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.8094, allocations: 47.84 kB / 0.9548 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.8095, allocations: 112 kB / 0.9549 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.8097, allocations: 174.4 kB / 0.9551 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8097, allocations: 1.219 kB / 0.9551 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003808/0.8101, allocations: 271.2 kB / 0.9554 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/0.8101, allocations: 67.89 kB / 0.9554 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.8101, allocations: 2.25 kB / 0.9554 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.8102, allocations: 6.781 kB / 0.9554 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.143e-05/0.8102, allocations: 4.062 kB / 0.9555 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.8102, allocations: 5.328 kB / 0.9555 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.8105, allocations: 56.28 kB / 0.9555 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.8106, allocations: 22.59 kB / 0.9555 GB, free: 3.918 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.0001022/0.8107, allocations: 138.9 kB / 0.9557 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.8107, allocations: 16.69 kB / 0.9557 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.8107, allocations: 12.31 kB / 0.9557 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.8107, allocations: 1.188 kB / 0.9557 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.8107, allocations: 1.219 kB / 0.9557 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.8107, allocations: 3.984 kB / 0.9557 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.8109, allocations: 199.5 kB / 0.9559 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.8109, allocations: 5.312 kB / 0.9559 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.827e-06/0.8109, allocations: 8.734 kB / 0.9559 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.8109, allocations: 1.375 kB / 0.9559 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.8109, allocations: 5.406 kB / 0.9559 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.8109, allocations: 4.75 kB / 0.9559 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8109, allocations: 5.375 kB / 0.9559 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.811, allocations: 111.2 kB / 0.956 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.8111, allocations: 87.05 kB / 0.9561 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.8111, allocations: 2.656 kB / 0.9561 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.158e-05/0.8111, allocations: 0 / 0.9561 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.8112, allocations: 14.83 kB / 0.9561 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.8112, allocations: 3.219 kB / 0.9561 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.73e-05/0.8112, allocations: 116 kB / 0.9562 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8113, allocations: 0 / 0.9562 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002422/0.8115, allocations: 42.94 kB / 0.9563 GB, free: 3.207 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.000135/0.8116, allocations: 108.1 kB / 0.9564 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002862/0.8119, allocations: 234.8 kB / 0.9566 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8119, allocations: 1.656 kB / 0.9566 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.41e-05/0.812, allocations: 25.62 kB / 0.9566 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.8122, allocations: 28.7 kB / 0.9567 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.8126, allocations: 275.6 kB / 0.9569 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.8128, allocations: 0.7082 MB / 0.9576 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.192e-05/0.8129, allocations: 16.75 kB / 0.9576 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/0.8129, allocations: 16.72 kB / 0.9576 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8129, allocations: 0 / 0.9576 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of Templates: time 0.00478/0.8177, allocations: 1.828 MB / 0.9594 GB, free: 1.004 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches