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.009371/0.009371, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001695/0.001695, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.465/2.465, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 71.88 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.025, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001837/1.027, allocations: 0.7089 MB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001514/1.028, allocations: 1.239 MB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.68e-05/1.028, allocations: 4.812 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/1.029, allocations: 14.55 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.259e-05/1.029, allocations: 17.36 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007279/1.029, allocations: 234.6 kB / 1.09 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003447/1.03, allocations: 258.7 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/1.03, allocations: 35.66 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/1.03, allocations: 98.12 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/1.03, allocations: 80.41 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.249e-05/1.03, allocations: 18.75 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/1.03, allocations: 46.72 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.96e-05/1.03, allocations: 44.11 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/1.031, allocations: 85.48 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003323/1.031, allocations: 232.3 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.031, allocations: 4 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.725e-06/1.031, allocations: 1.453 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.304e-06/1.031, allocations: 0 / 1.091 GB, free: 3.672 MB / 0.8575 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.0005298/1.032, allocations: 0.493 MB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/1.032, allocations: 9.609 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.868e-05/1.032, allocations: 28.28 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005056/1.032, allocations: 257.1 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/1.032, allocations: 20.94 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/1.032, allocations: 13.84 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/1.032, allocations: 132.8 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.032, allocations: 4.812 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/1.032, allocations: 5.375 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/1.032, allocations: 3.125 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.636e-05/1.033, allocations: 49.3 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/1.033, allocations: 0.6695 MB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.914e-05/1.033, allocations: 43.88 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/1.033, allocations: 14.95 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/1.033, allocations: 1.859 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/1.033, allocations: 93.14 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/1.033, allocations: 0.875 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002315/1.034, allocations: 102.9 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/1.034, allocations: 79.16 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/1.034, allocations: 178.8 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/1.034, allocations: 30.02 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/1.034, allocations: 127.4 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/1.034, allocations: 18.42 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/1.034, allocations: 62.61 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.542e-05/1.034, allocations: 321.5 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/1.034, allocations: 53.33 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/1.034, allocations: 123.3 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/1.035, allocations: 176.9 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.035, allocations: 4.906 kB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004136/1.035, allocations: 265.4 kB / 1.094 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/1.035, allocations: 68.39 kB / 1.094 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/1.035, allocations: 5.438 kB / 1.094 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/1.035, allocations: 3.234 kB / 1.094 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.071e-05/1.035, allocations: 3.844 kB / 1.094 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/1.035, allocations: 3.297 kB / 1.094 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/1.036, allocations: 76 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/1.036, allocations: 13.12 kB / 1.094 GB, free: 0.7773 MB / 0.8575 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.0001027/1.036, allocations: 138.7 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/1.036, allocations: 13.14 kB / 1.095 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/1.036, allocations: 17.38 kB / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/1.036, allocations: 2.172 kB / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.036, allocations: 0.8438 kB / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.036, allocations: 1.484 kB / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/1.036, allocations: 206.7 kB / 1.095 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/1.036, allocations: 8.594 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-06/1.036, allocations: 2.266 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/1.036, allocations: 0.7188 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/1.036, allocations: 2.297 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.036, allocations: 1.594 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.036, allocations: 0.6562 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/1.036, allocations: 115.2 kB / 1.095 GB, free: 320 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/1.036, allocations: 97.53 kB / 1.095 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/1.036, allocations: 5.125 kB / 1.095 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.299e-05/1.036, allocations: 2.125 kB / 1.095 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/1.036, allocations: 4.5 kB / 1.095 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/1.036, allocations: 3.438 kB / 1.095 GB, free: 204 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.004e-05/1.036, allocations: 124.5 kB / 1.095 GB, free: 112 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.036, allocations: 0 / 1.095 GB, free: 112 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002685/1.037, allocations: 32.91 kB / 1.095 GB, free: 112 kB / 0.8575 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.0001468/1.037, allocations: 108.4 kB / 1.095 GB, free: 20 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003932/1.037, allocations: 237.2 kB / 1.095 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.037, allocations: 0.5 kB / 1.095 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.11e-05/1.037, allocations: 20.67 kB / 1.095 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/1.037, allocations: 37.36 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004725/1.038, allocations: 244.6 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/1.038, allocations: 0.715 MB / 1.096 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.891e-05/1.038, allocations: 15.27 kB / 1.096 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/1.038, allocations: 14.8 kB / 1.096 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.038, allocations: 0 / 1.096 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of Templates: time 0.005324/1.044, allocations: 2.002 MB / 1.098 GB, free: 14.72 MB / 0.8731 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