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.009274/0.009274, allocations: 103.8 kB / 15.73 MB, free: 6.008 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.002049/0.00205, allocations: 197.4 kB / 16.68 MB, free: 5.934 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.62/2.62, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002025, allocations: 59.91 kB / 1.054 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.056, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002215/1.058, allocations: 0.6114 MB / 1.208 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001807/1.06, allocations: 1.112 MB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.998e-05/1.06, allocations: 8 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/1.06, allocations: 3.938 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.843e-05/1.06, allocations: 7.922 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007237/1.061, allocations: 129.1 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002474/1.061, allocations: 95.88 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/1.061, allocations: 0 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.763e-05/1.061, allocations: 43.91 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/1.062, allocations: 31.89 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/1.062, allocations: 8 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.682e-05/1.062, allocations: 19.98 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.703e-05/1.062, allocations: 7.984 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.944e-05/1.062, allocations: 35.91 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/1.062, allocations: 95.66 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/1.062, allocations: 4 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.353e-06/1.062, allocations: 0 / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.007e-06/1.062, allocations: 4 kB / 1.21 GB, free: 11.38 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.0006744/1.063, allocations: 380.7 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.063, allocations: 8.031 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/1.063, allocations: 4.938 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/1.063, allocations: 182.4 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/1.063, allocations: 4.359 kB / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/1.063, allocations: 8.375 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/1.063, allocations: 50.25 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/1.063, allocations: 192 / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/1.063, allocations: 3.938 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/1.063, allocations: 0 / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.884e-05/1.063, allocations: 15.94 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/1.064, allocations: 300.8 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.484e-05/1.064, allocations: 18.58 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.907e-05/1.064, allocations: 12.92 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/1.064, allocations: 0 / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/1.064, allocations: 71.27 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/1.064, allocations: 0 / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002164/1.064, allocations: 61.59 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/1.065, allocations: 51.41 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/1.065, allocations: 105.8 kB / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/1.065, allocations: 33.7 kB / 1.211 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/1.065, allocations: 92.05 kB / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/1.065, allocations: 7.922 kB / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.591e-05/1.065, allocations: 37.62 kB / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.065, allocations: 318.8 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/1.065, allocations: 27.98 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.132e-05/1.065, allocations: 50.5 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/1.065, allocations: 84.48 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.065, allocations: 0 / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002563/1.066, allocations: 151.2 kB / 1.212 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/1.066, allocations: 39.36 kB / 1.212 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.066, allocations: 0 / 1.212 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/1.066, allocations: 4 kB / 1.212 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.724e-05/1.066, allocations: 0 / 1.212 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/1.066, allocations: 4.094 kB / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/1.066, allocations: 23.97 kB / 1.212 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/1.066, allocations: 11.98 kB / 1.212 GB, free: 8.996 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 0.0001065/1.066, allocations: 117.8 kB / 1.212 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/1.066, allocations: 0 / 1.212 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/1.066, allocations: 7.906 kB / 1.212 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/1.066, allocations: 4 kB / 1.212 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.066, allocations: 4 kB / 1.212 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.066, allocations: 3.984 kB / 1.212 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/1.066, allocations: 161.6 kB / 1.212 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/1.066, allocations: 0 / 1.212 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.131e-06/1.066, allocations: 0 / 1.212 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.066, allocations: 0 / 1.212 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/1.066, allocations: 0 / 1.212 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/1.066, allocations: 0 / 1.212 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/1.066, allocations: 8.297 kB / 1.212 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/1.067, allocations: 88.91 kB / 1.212 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/1.067, allocations: 77.11 kB / 1.212 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/1.067, allocations: 4 kB / 1.212 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.632e-05/1.067, allocations: 4 kB / 1.212 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/1.067, allocations: 7.984 kB / 1.212 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/1.067, allocations: 0 / 1.212 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.601e-05/1.067, allocations: 83.28 kB / 1.212 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/1.067, allocations: 3.938 kB / 1.212 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002437/1.067, allocations: 12 kB / 1.213 GB, free: 8.312 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.0001811/1.067, allocations: 111.2 kB / 1.213 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003278/1.068, allocations: 123.2 kB / 1.213 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.068, allocations: 3.938 kB / 1.213 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.726e-05/1.068, allocations: 12 kB / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/1.068, allocations: 14.03 kB / 1.213 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/1.068, allocations: 130.1 kB / 1.213 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/1.069, allocations: 0.6884 MB / 1.214 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.391e-05/1.069, allocations: 4.25 kB / 1.214 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/1.069, allocations: 11.42 kB / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/1.069, allocations: 0 / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of Templates: time 0.004164/1.073, allocations: 1.078 MB / 1.215 GB, free: 6.09 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/jenkins/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