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.001625/0.001624, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002325/0.002325, allocations: 197.4 kB / 16.54 MB, free: 6.672 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.472/1.472, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.533/2.533, allocations: 390.2 MB / 0.6647 GB, free: 412 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.91 kB / 0.8125 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7772/0.7785, allocations: 140.4 MB / 0.9496 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002168/0.7807, allocations: 0.7056 MB / 0.9503 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.7821, allocations: 1.254 MB / 0.9515 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.164e-05/0.7822, allocations: 2.312 kB / 0.9515 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.7824, allocations: 11.86 kB / 0.9515 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.438e-05/0.7824, allocations: 14.81 kB / 0.9515 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007344/0.7832, allocations: 238 kB / 0.9518 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00031/0.7835, allocations: 253.1 kB / 0.952 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.7836, allocations: 36.45 kB / 0.952 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.7838, allocations: 105.7 kB / 0.9521 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.7841, allocations: 91.39 kB / 0.9522 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.456e-05/0.7842, allocations: 23.06 kB / 0.9522 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.7843, allocations: 33.58 kB / 0.9523 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.7843, allocations: 36.94 kB / 0.9523 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.7845, allocations: 80.48 kB / 0.9524 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.7847, allocations: 214.2 kB / 0.9526 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7847, allocations: 0 / 0.9526 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7847, allocations: 0 / 0.9526 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.7848, allocations: 0 / 0.9526 GB, free: 7.125 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.0005579/0.7853, allocations: 0.4967 MB / 0.9531 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.7854, allocations: 9.375 kB / 0.9531 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.137e-05/0.7855, allocations: 20.22 kB / 0.9531 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005896/0.7861, allocations: 258.8 kB / 0.9533 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.7861, allocations: 15.61 kB / 0.9534 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.399e-05/0.7862, allocations: 17.34 kB / 0.9534 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.7864, allocations: 123.6 kB / 0.9535 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.7864, allocations: 3.938 kB / 0.9535 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.7864, allocations: 13.33 kB / 0.9535 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.7864, allocations: 2.906 kB / 0.9535 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.537e-05/0.7865, allocations: 46.06 kB / 0.9536 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.7871, allocations: 0.6685 MB / 0.9542 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.767e-05/0.7871, allocations: 44.45 kB / 0.9543 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.7872, allocations: 21.45 kB / 0.9543 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.7872, allocations: 1.156 kB / 0.9543 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.7874, allocations: 97.33 kB / 0.9544 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.853e-06/0.7874, allocations: 0 / 0.9544 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002491/0.7876, allocations: 100.3 kB / 0.9545 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.7877, allocations: 82.91 kB / 0.9545 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.7878, allocations: 173.4 kB / 0.9547 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.7879, allocations: 33.66 kB / 0.9547 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.147e-05/0.788, allocations: 118.3 kB / 0.9549 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.788, allocations: 17.98 kB / 0.9549 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.944e-05/0.7881, allocations: 56.72 kB / 0.9549 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.805e-05/0.7881, allocations: 325.9 kB / 0.9552 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.7883, allocations: 55.77 kB / 0.9553 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.7884, allocations: 99.69 kB / 0.9554 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.7886, allocations: 178.6 kB / 0.9556 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7886, allocations: 1.062 kB / 0.9556 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003889/0.789, allocations: 267.2 kB / 0.9558 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.789, allocations: 66.3 kB / 0.9559 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.789, allocations: 1.312 kB / 0.9559 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.7891, allocations: 3.344 kB / 0.9559 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.289e-05/0.7891, allocations: 6.844 kB / 0.9559 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.7891, allocations: 10.7 kB / 0.9559 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.7894, allocations: 56.22 kB / 0.956 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.7895, allocations: 9.75 kB / 0.956 GB, free: 3.98 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 9.522e-05/0.7896, allocations: 140.5 kB / 0.9561 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.7896, allocations: 20.55 kB / 0.9561 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.7896, allocations: 16.09 kB / 0.9561 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.7896, allocations: 1.562 kB / 0.9561 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7896, allocations: 4 kB / 0.9561 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.7897, allocations: 1.125 kB / 0.9561 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.7898, allocations: 199.2 kB / 0.9563 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7898, allocations: 5.438 kB / 0.9563 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.195e-06/0.7898, allocations: 1.438 kB / 0.9563 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.7898, allocations: 0 / 0.9563 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.7898, allocations: 10.03 kB / 0.9563 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7898, allocations: 0 / 0.9563 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.7898, allocations: 9.422 kB / 0.9564 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.7899, allocations: 107.5 kB / 0.9565 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.79, allocations: 91.22 kB / 0.9565 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.79, allocations: 2 kB / 0.9565 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.374e-05/0.79, allocations: 5.469 kB / 0.9565 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.7901, allocations: 3.094 kB / 0.9566 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.7901, allocations: 11.11 kB / 0.9566 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.388e-05/0.7901, allocations: 119.8 kB / 0.9567 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7902, allocations: 0 / 0.9567 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002574/0.7904, allocations: 36.19 kB / 0.9567 GB, free: 3.266 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.0001361/0.7906, allocations: 112.7 kB / 0.9568 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002786/0.7908, allocations: 241.2 kB / 0.957 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7909, allocations: 0.5 kB / 0.957 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.758e-05/0.7909, allocations: 26.64 kB / 0.9571 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.7911, allocations: 24.86 kB / 0.9571 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.7915, allocations: 245.6 kB / 0.9573 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.7917, allocations: 0.7124 MB / 0.958 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.741e-05/0.7917, allocations: 11.64 kB / 0.958 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.7918, allocations: 13.81 kB / 0.9581 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.7918, allocations: 0 / 0.9581 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of Templates: time 0.004641/0.7964, allocations: 1.843 MB / 0.9599 GB, free: 1.082 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