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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001145/0.001145, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001543/0.001543, allocations: 195 kB / 16.25 MB, free: 6.629 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.417/1.417, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.734/2.734, allocations: 437 MB / 0.71 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 67.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.689/0.6904, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002031/0.6925, allocations: 0.6829 MB / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.6939, allocations: 1.101 MB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.694, allocations: 7.938 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.6941, allocations: 0 / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.8e-05/0.6941, allocations: 7.922 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.6947, allocations: 120 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.6949, allocations: 91.77 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.695, allocations: 8 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.515e-05/0.6951, allocations: 31.97 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.6952, allocations: 35.89 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.6952, allocations: 8 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.63e-05/0.6953, allocations: 23.98 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.176e-05/0.6954, allocations: 4 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.337e-05/0.6954, allocations: 31.91 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.6956, allocations: 91.77 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6956, allocations: 7.938 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.615e-06/0.6956, allocations: 0 / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.6957, allocations: 3.938 kB / 1.019 GB, free: 488 kB / 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.0005152/0.6962, allocations: 379.1 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.6962, allocations: 12.03 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.6963, allocations: 8.844 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.6965, allocations: 180.4 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.6965, allocations: 8.312 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.6966, allocations: 4.375 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.6967, allocations: 46.25 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.6967, allocations: 192 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.6967, allocations: 3.938 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.6967, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.65e-05/0.6968, allocations: 15.98 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.6971, allocations: 308.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.59e-05/0.6972, allocations: 22.58 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.441e-05/0.6972, allocations: 4.859 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.6972, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.6974, allocations: 63.45 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.6974, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001996/0.6976, allocations: 65.61 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.6976, allocations: 59.39 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.077e-05/0.6977, allocations: 105.8 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.6978, allocations: 25.7 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.6978, allocations: 92.12 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.075e-05/0.6978, allocations: 3.906 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.615e-05/0.6979, allocations: 33.7 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.6981, allocations: 322.8 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.507e-05/0.6981, allocations: 27.97 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.6982, allocations: 54.88 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.6983, allocations: 80.2 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6983, allocations: 7.938 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002382/0.6986, allocations: 139.3 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.6986, allocations: 33.7 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.6986, allocations: 3.984 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.6987, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.625e-05/0.6987, allocations: 3.984 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.6987, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.6989, allocations: 32 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.6989, allocations: 12 kB / 1.021 GB, free: 14.09 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 8.354e-05/0.699, allocations: 126.2 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-06/0.699, allocations: 3.906 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.6991, allocations: 7.906 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.6991, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.6991, allocations: 3.938 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.6991, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.6992, allocations: 169.6 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6992, allocations: 0 / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.239e-06/0.6992, allocations: 4 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.6992, allocations: 0 / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.6993, allocations: 4 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.6993, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6993, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.967e-05/0.6994, allocations: 77.06 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.6994, allocations: 85 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.6994, allocations: 11.94 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.376e-05/0.6995, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.6995, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.6995, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.899e-05/0.6995, allocations: 87.27 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6996, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002112/0.6998, allocations: 20 kB / 1.022 GB, free: 13.39 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.0001439/0.6999, allocations: 99.25 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.7001, allocations: 135.3 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7001, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.997e-05/0.7002, allocations: 11.98 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.7004, allocations: 12.69 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.7007, allocations: 126.5 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.7009, allocations: 0.6847 MB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.048e-05/0.701, allocations: 4 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.701, allocations: 7.438 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.701, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of Templates: time 0.003247/0.7042, allocations: 1.047 MB / 1.024 GB, free: 11.21 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