Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 110.3 kB / 16.41 MB, free: 6.027 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.001459/0.001459, allocations: 186.6 kB / 17.34 MB, free: 5.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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.43/2.43, allocations: 461.9 MB / 0.7355 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.89 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7256/0.7268, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001654/0.7285, allocations: 0.6106 MB / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.7298, allocations: 1.116 MB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.246e-05/0.7299, allocations: 0 / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.341e-05/0.73, allocations: 3.938 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.216e-05/0.73, allocations: 7.922 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004885/0.7305, allocations: 138.8 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000143/0.7306, allocations: 91.83 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.355e-05/0.7307, allocations: 4 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.884e-05/0.7308, allocations: 35.95 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.583e-05/0.7309, allocations: 35.91 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.7309, allocations: 8 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.816e-05/0.731, allocations: 19.98 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.7311, allocations: 19.91 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.317e-05/0.7311, allocations: 27.92 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.7313, allocations: 87.78 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7313, allocations: 3.984 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.795e-06/0.7313, allocations: 0 / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.7313, allocations: 3.938 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003969/0.7317, allocations: 380.7 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.7317, allocations: 12.03 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.7318, allocations: 12.94 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.7319, allocations: 182.4 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.732, allocations: 4.375 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.732, allocations: 8.359 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.304e-05/0.7321, allocations: 42.25 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.7321, allocations: 192 / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.7321, allocations: 11.94 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.7321, allocations: 0 / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.986e-05/0.7322, allocations: 11.98 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.7325, allocations: 304.8 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.826e-05/0.7325, allocations: 18.58 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.471e-05/0.7325, allocations: 12.8 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.13e-06/0.7326, allocations: 4.062 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.042e-05/0.7326, allocations: 63.33 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.7327, allocations: 0 / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0001583/0.7328, allocations: 61.59 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.7329, allocations: 55.41 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.919e-05/0.7329, allocations: 105.8 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.733, allocations: 25.7 kB / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.733, allocations: 100 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.733, allocations: 7.938 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.7331, allocations: 37.64 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.987e-05/0.7332, allocations: 318.8 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.102e-05/0.7333, allocations: 31.92 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.075e-05/0.7333, allocations: 46.55 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.079e-05/0.7334, allocations: 80.27 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.7334, allocations: 4 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002169/0.7337, allocations: 147.2 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.7337, allocations: 33.7 kB / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.7337, allocations: 0 / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.7337, allocations: 0 / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.435e-05/0.7337, allocations: 3.938 kB / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.7338, allocations: 7.984 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.734, allocations: 23.97 kB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.734, allocations: 8.406 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 8.493e-05/0.7341, allocations: 117.8 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/0.7341, allocations: 4 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.7341, allocations: 11.89 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.7341, allocations: 0 / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7341, allocations: 4 kB / 1.213 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7341, allocations: 0 / 1.213 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.7342, allocations: 161.6 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.7343, allocations: 0 / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.923e-06/0.7343, allocations: 8.219 kB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.7343, allocations: 4 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.7343, allocations: 0 / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.7343, allocations: 0 / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7343, allocations: 3.938 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.7344, allocations: 88.89 kB / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.7344, allocations: 81.11 kB / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.7345, allocations: 0 / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.534e-05/0.7345, allocations: 3.984 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.7345, allocations: 4 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.7345, allocations: 4 kB / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.446e-05/0.7346, allocations: 83.28 kB / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7346, allocations: 0 / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002022/0.7348, allocations: 19.98 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001224/0.7349, allocations: 103.2 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001807/0.7351, allocations: 123.2 kB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.7351, allocations: 4.188 kB / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.83e-05/0.7351, allocations: 12 kB / 1.213 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.7353, allocations: 11.92 kB / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/0.7356, allocations: 151.7 kB / 1.214 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.7358, allocations: 0.6846 MB / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.516e-05/0.7358, allocations: 11.44 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of SimCode: time 1.423e-06/0.7358, allocations: 0 / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of Templates: time 0.002161/0.738, allocations: 0.9281 MB / 1.215 GB, free: 6.254 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches