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.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.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.001268/0.001268, allocations: 110.1 kB / 16.37 MB, free: 6.012 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.001321/0.00132, allocations: 194.7 kB / 17.31 MB, free: 5.613 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.541/1.541, allocations: 222.9 MB / 241 MB, free: 4.203 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.665/2.665, allocations: 390.3 MB / 0.6655 GB, free: 120 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 63.89 kB / 0.8141 GB, free: 13.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.852/0.8535, allocations: 140.4 MB / 0.9511 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002218/0.8557, allocations: 0.7245 MB / 0.9518 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.8574, allocations: 1.243 MB / 0.9531 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.008e-05/0.8575, allocations: 0.9062 kB / 0.9531 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.8576, allocations: 13.23 kB / 0.9531 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.476e-05/0.8577, allocations: 10.44 kB / 0.9531 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007874/0.8585, allocations: 241.6 kB / 0.9533 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003505/0.8588, allocations: 263.9 kB / 0.9536 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.859, allocations: 31.55 kB / 0.9536 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.8592, allocations: 105.2 kB / 0.9537 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.8593, allocations: 86.62 kB / 0.9538 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.938e-05/0.8594, allocations: 18.78 kB / 0.9538 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.8595, allocations: 41.05 kB / 0.9538 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.377e-05/0.8596, allocations: 34.31 kB / 0.9539 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.8597, allocations: 92.53 kB / 0.954 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.86, allocations: 231 kB / 0.9542 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.86, allocations: 0 / 0.9542 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8601, allocations: 0.875 kB / 0.9542 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.8601, allocations: 0 / 0.9542 GB, free: 7.145 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.0006576/0.8607, allocations: 0.5025 MB / 0.9547 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.8608, allocations: 8.719 kB / 0.9547 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.924e-05/0.8609, allocations: 20.66 kB / 0.9547 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005813/0.8615, allocations: 262.3 kB / 0.9549 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.8615, allocations: 15.98 kB / 0.955 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.8616, allocations: 13.81 kB / 0.955 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.8618, allocations: 129.7 kB / 0.9551 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.8618, allocations: 5 kB / 0.9551 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.8618, allocations: 8.922 kB / 0.9551 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.8619, allocations: 2.25 kB / 0.9551 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.799e-05/0.8619, allocations: 49.88 kB / 0.9552 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006178/0.8626, allocations: 0.6703 MB / 0.9558 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.893e-05/0.8626, allocations: 46.52 kB / 0.9559 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.669e-05/0.8627, allocations: 18.42 kB / 0.9559 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-06/0.8627, allocations: 3.938 kB / 0.9559 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.8629, allocations: 93.09 kB / 0.956 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.8629, allocations: 0 / 0.956 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002846/0.8632, allocations: 100.9 kB / 0.9561 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.8633, allocations: 79.14 kB / 0.9561 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.8634, allocations: 178.5 kB / 0.9563 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.8635, allocations: 28.64 kB / 0.9563 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.983e-05/0.8636, allocations: 123.2 kB / 0.9565 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.8636, allocations: 14.33 kB / 0.9565 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.8637, allocations: 63.14 kB / 0.9565 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.8638, allocations: 322.6 kB / 0.9568 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.864, allocations: 55.06 kB / 0.9569 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.8641, allocations: 123.5 kB / 0.957 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.8643, allocations: 177.8 kB / 0.9572 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8644, allocations: 1.125 kB / 0.9572 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004491/0.8648, allocations: 264.3 kB / 0.9574 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.52e-05/0.8649, allocations: 69.27 kB / 0.9575 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.8649, allocations: 2.062 kB / 0.9575 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.865, allocations: 1.75 kB / 0.9575 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.239e-05/0.865, allocations: 10.72 kB / 0.9575 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.865, allocations: 2.688 kB / 0.9575 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003878/0.8654, allocations: 73.83 kB / 0.9576 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.8654, allocations: 14.98 kB / 0.9576 GB, free: 3.965 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.0001099/0.8655, allocations: 140.7 kB / 0.9577 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.8656, allocations: 19.88 kB / 0.9577 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.679e-05/0.8656, allocations: 16.36 kB / 0.9578 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.8656, allocations: 1.375 kB / 0.9578 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.8656, allocations: 1.375 kB / 0.9578 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.8656, allocations: 0 / 0.9578 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.8658, allocations: 199.8 kB / 0.958 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.8658, allocations: 3.938 kB / 0.958 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.548e-06/0.8658, allocations: 5.375 kB / 0.958 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.8658, allocations: 1.75 kB / 0.958 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.8658, allocations: 5.312 kB / 0.958 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-06/0.8658, allocations: 5.375 kB / 0.958 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8658, allocations: 0 / 0.958 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.866, allocations: 116.2 kB / 0.9581 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.866, allocations: 87.7 kB / 0.9582 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.866, allocations: 9.359 kB / 0.9582 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.438e-05/0.8661, allocations: 1.375 kB / 0.9582 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.8661, allocations: 6.75 kB / 0.9582 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.8661, allocations: 6.609 kB / 0.9582 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.833e-05/0.8662, allocations: 120 kB / 0.9583 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8662, allocations: 0 / 0.9583 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002713/0.8665, allocations: 39.31 kB / 0.9583 GB, free: 3.25 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.0001603/0.8666, allocations: 109.5 kB / 0.9584 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003138/0.867, allocations: 233.5 kB / 0.9587 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.867, allocations: 4.562 kB / 0.9587 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.957e-05/0.867, allocations: 21.67 kB / 0.9587 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.8673, allocations: 25.92 kB / 0.9587 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.8677, allocations: 246.5 kB / 0.959 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.8679, allocations: 0.716 MB / 0.9597 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.272e-05/0.868, allocations: 13.34 kB / 0.9597 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.868, allocations: 11.81 kB / 0.9597 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.868, allocations: 1.312 kB / 0.9597 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of Templates: time 0.005082/0.8731, allocations: 1.999 MB / 0.9616 GB, free: 0.9922 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 -s cvode -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/jenkins1/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