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.00501/0.00501, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.001185/0.001184, allocations: 193.6 kB / 16.79 MB, free: 5.809 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.388/1.388, allocations: 222.9 MB / 240.5 MB, free: 4.547 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.724/2.724, allocations: 437 MB / 0.7106 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 67.89 kB / 0.8692 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7148/0.7163, allocations: 151.6 MB / 1.017 GB, free: 2.922 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002269/0.7186, allocations: 0.7006 MB / 1.018 GB, free: 2.223 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.7203, allocations: 1.117 MB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.991e-05/0.7204, allocations: 4 kB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.7205, allocations: 3.938 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.569e-05/0.7205, allocations: 4 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.721, allocations: 103.4 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.7212, allocations: 79.83 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.7213, allocations: 15.97 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.519e-05/0.7213, allocations: 31.92 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.678e-05/0.7214, allocations: 23.91 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.7215, allocations: 4 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.648e-05/0.7216, allocations: 19.98 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.7216, allocations: 15.97 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.7217, allocations: 27.86 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.7218, allocations: 63.86 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7219, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.01e-07/0.7219, allocations: 4 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.7219, allocations: 0 / 1.019 GB, free: 0.6992 MB / 0.7637 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.0004984/0.7224, allocations: 383.2 kB / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.7224, allocations: 8.031 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.7225, allocations: 8.844 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.7227, allocations: 180.4 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.7227, allocations: 4.375 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.7227, allocations: 8.375 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.7228, allocations: 46.19 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.7229, allocations: 192 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.7229, allocations: 3.938 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.7229, allocations: 4 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.593e-05/0.7229, allocations: 15.98 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.7233, allocations: 308.8 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.945e-05/0.7234, allocations: 18.52 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.737e-05/0.7234, allocations: 8.922 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.7234, allocations: 4 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.7236, allocations: 59.39 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.7236, allocations: 0 / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000192/0.7238, allocations: 65.61 kB / 1.021 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.7238, allocations: 51.41 kB / 1.021 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.594e-05/0.7239, allocations: 117.7 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.724, allocations: 33.64 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.724, allocations: 88.14 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.278e-05/0.724, allocations: 7.906 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-05/0.7241, allocations: 29.7 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.7242, allocations: 322.8 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.024e-05/0.7243, allocations: 23.98 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.841e-05/0.7244, allocations: 46.75 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.7245, allocations: 92.23 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.7245, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002434/0.7248, allocations: 139.3 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.7248, allocations: 41.69 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.7248, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.7248, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.617e-05/0.7249, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.7249, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.7251, allocations: 39.84 kB / 1.022 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.7251, allocations: 4 kB / 1.022 GB, free: 14.31 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 (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.0001019/0.7252, allocations: 126.3 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.7253, allocations: 0 / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.7253, allocations: 7.906 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.7253, allocations: 0 / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.7253, allocations: 0 / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.7253, allocations: 0 / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.7254, allocations: 181.5 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7255, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.452e-06/0.7255, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.7255, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.7255, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.7255, allocations: 4.312 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.7255, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.7256, allocations: 85.05 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.7257, allocations: 81.02 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.7257, allocations: 8 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.442e-05/0.7257, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.7257, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.7257, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.303e-05/0.7258, allocations: 95.2 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7258, allocations: 0 / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002114/0.726, allocations: 12 kB / 1.022 GB, free: 13.62 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 (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.000153/0.7262, allocations: 107.2 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.7264, allocations: 127.3 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.7264, allocations: 7.938 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.69e-05/0.7264, allocations: 4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.7266, allocations: 15.94 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.727, allocations: 153.7 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.7272, allocations: 0.6848 MB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.7273, allocations: 11.44 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of SimCode: time 4.1e-07/0.7273, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of Templates: time 0.002656/0.7299, allocations: 0.8976 MB / 1.024 GB, free: 11.54 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/jenkins1/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