Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.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.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004845/0.004845, allocations: 100.7 kB / 15.87 MB, free: 6.305 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.001126/0.001126, allocations: 190.7 kB / 16.79 MB, free: 6.238 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.413/1.413, allocations: 222.9 MB / 240.5 MB, free: 4.59 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.634/2.634, allocations: 437 MB / 0.7106 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.91 kB / 0.8692 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5891/0.5906, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003392/0.5941, allocations: 1.844 MB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.5958, allocations: 1.018 MB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.596, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000637/0.5966, allocations: 159.5 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.5969, allocations: 103.7 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.5974, allocations: 151.6 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.5977, allocations: 163.6 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.5978, allocations: 29.09 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.5979, allocations: 55.77 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.598, allocations: 71.62 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.5981, allocations: 4 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.5982, allocations: 51.97 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.823e-05/0.5983, allocations: 39.89 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.9e-05/0.5984, allocations: 59.55 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.5986, allocations: 153.7 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5987, allocations: 3.938 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.61e-07/0.5987, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.5987, allocations: 0 / 1.021 GB, free: 14.85 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007281/0.5994, allocations: 496.3 kB / 1.022 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.5994, allocations: 8.031 kB / 1.022 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/0.5995, allocations: 16.75 kB / 1.022 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.5998, allocations: 245 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.5998, allocations: 8.312 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.5999, allocations: 8.125 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.6001, allocations: 87.31 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.6001, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.6001, allocations: 4 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.6001, allocations: 4 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.6002, allocations: 35.97 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005288/0.6008, allocations: 360.5 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.601, allocations: 74.67 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.309e-05/0.6011, allocations: 36.78 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.6011, allocations: 11.94 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.6013, allocations: 75.38 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/0.6013, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003557/0.6017, allocations: 145.4 kB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.6017, allocations: 77.11 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.602, allocations: 259 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.602, allocations: 29.7 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.6021, allocations: 127.9 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.6022, allocations: 19.78 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.6022, allocations: 33.7 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6023, allocations: 330.8 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.01e-05/0.6024, allocations: 27.98 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.324e-05/0.6025, allocations: 51.42 kB / 1.024 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.6027, allocations: 77.67 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6027, allocations: 0 / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002129/0.6029, allocations: 113.8 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.6029, allocations: 4 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.6029, allocations: 7.984 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.6029, allocations: 4.047 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.562e-05/0.603, allocations: 11.94 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.603, allocations: 0 / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.972e-05/0.6031, allocations: 23.81 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.6031, allocations: 7.938 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.0001263/0.6033, allocations: 150.3 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.6033, allocations: 19.8 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.6033, allocations: 17.41 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.6034, allocations: 4 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.6034, allocations: 3.984 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.6034, allocations: 3.938 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.6036, allocations: 225.6 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6036, allocations: 0 / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.288e-05/0.6036, allocations: 4 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.6036, allocations: 0 / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.6037, allocations: 4 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6037, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.6037, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.6039, allocations: 144.8 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.604, allocations: 96.86 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.604, allocations: 8 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.064e-05/0.6041, allocations: 3.984 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.6041, allocations: 4 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.6041, allocations: 7.938 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000189/0.6043, allocations: 196.6 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6043, allocations: 0 / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002536/0.6046, allocations: 31.91 kB / 1.025 GB, free: 10.82 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001007/0.6056, allocations: 428 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.6058, allocations: 75.91 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6059, allocations: 0 / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.606, allocations: 35.92 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.6063, allocations: 41.59 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005639/0.6068, allocations: 358.6 kB / 1.026 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.6072, allocations: 0.7243 MB / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.6072, allocations: 19.44 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.6072, allocations: 0 / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of Templates: time 0.0051/0.6123, allocations: 2.545 MB / 1.029 GB, free: 6.727 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches