Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_10_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_10_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.0009332/0.0009333, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009632/0.0009633, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.832/2.832, allocations: 437.7 MB / 0.7117 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005537/0.000554, allocations: 11.94 kB / 0.8722 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.865/0.8655, allocations: 153.8 MB / 1.022 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001094/0.8667, allocations: 356.4 kB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.8681, allocations: 1.086 MB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.764e-05/0.8682, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.262e-05/0.8683, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.647e-05/0.8683, allocations: 7.922 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.8688, allocations: 115.5 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.8689, allocations: 67.89 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.869, allocations: 11.97 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.679e-05/0.8691, allocations: 31.92 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.8692, allocations: 19.91 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.8692, allocations: 8 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.871e-05/0.8693, allocations: 15.98 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.8693, allocations: 11.97 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.8694, allocations: 33.7 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.8695, allocations: 59.88 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.8695, allocations: 0 / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8695, allocations: 0 / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.8695, allocations: 0 / 1.024 GB, free: 14.38 MB / 0.7794 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.0004648/0.87, allocations: 371.1 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.8701, allocations: 16.44 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.8701, allocations: 7.906 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.8703, allocations: 179.1 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.8703, allocations: 4 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.8703, allocations: 15.92 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.8705, allocations: 45.64 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.8705, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.8705, allocations: 4 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.8705, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.913e-05/0.8705, allocations: 8 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.8709, allocations: 304.8 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.396e-05/0.8709, allocations: 26.56 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.481e-05/0.871, allocations: 8.859 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/0.871, allocations: 0 / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/0.8711, allocations: 67.3 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.8711, allocations: 0 / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001778/0.8713, allocations: 57.67 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.8713, allocations: 59.41 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.158e-05/0.8714, allocations: 105.8 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.8714, allocations: 29.7 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.8715, allocations: 96.03 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.137e-06/0.8715, allocations: 0 / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/0.8715, allocations: 4 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.8716, allocations: 322.8 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-05/0.8717, allocations: 27.98 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.732e-05/0.8718, allocations: 50.5 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.58e-05/0.8719, allocations: 57.69 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8719, allocations: 0 / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002172/0.8721, allocations: 143.2 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/0.8721, allocations: 37.69 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.8722, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.8722, allocations: 4 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.412e-05/0.8722, allocations: 96 / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.8722, allocations: 4 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.8724, allocations: 44.22 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.8725, allocations: 7.984 kB / 1.026 GB, free: 12.06 MB / 0.7794 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 ($PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.732e-05/0.8726, allocations: 117.8 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.8726, allocations: 12 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.8726, allocations: 3.906 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.8726, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.8726, allocations: 7.875 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.8726, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.8728, allocations: 173.5 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.8728, allocations: 0 / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.147e-06/0.8728, allocations: 4 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.8728, allocations: 0 / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.8728, allocations: 0 / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.8728, allocations: 4 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.8728, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.501e-05/0.8729, allocations: 77.11 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.873, allocations: 85.06 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.873, allocations: 4 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.294e-05/0.873, allocations: 0 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.8731, allocations: 0 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.8731, allocations: 7.984 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.823e-05/0.8731, allocations: 83.28 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.846e-06/0.8731, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002028/0.8733, allocations: 23.94 kB / 1.027 GB, free: 11.37 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000162/0.8735, allocations: 107.2 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.8737, allocations: 119.4 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8737, allocations: 0 / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.772e-05/0.8738, allocations: 7.938 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.874, allocations: 20.17 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.8743, allocations: 130.6 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.8745, allocations: 0.6848 MB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.741e-05/0.8746, allocations: 4.312 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.512e-05/0.8746, allocations: 11.44 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8746, allocations: 0 / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of Templates: time 0.003214/0.8778, allocations: 0.9754 MB / 1.029 GB, free: 9.258 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches