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.001047/0.001047, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 183.8 kB / 16.92 MB, free: 6.922 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.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.324 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.632/2.632, allocations: 437.8 MB / 0.7128 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.000381, allocations: 19.94 kB / 0.8735 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6091/0.6095, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002042/0.6116, allocations: 1.493 MB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.6132, allocations: 0.9909 MB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.97e-05/0.6133, allocations: 0 / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005817/0.6139, allocations: 159.7 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.6142, allocations: 107.7 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.6146, allocations: 146.7 kB / 1.027 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.6148, allocations: 167.5 kB / 1.027 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.69e-05/0.6149, allocations: 21.09 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.6151, allocations: 59.77 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.6152, allocations: 63.69 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.6152, allocations: 8 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.6154, allocations: 51.97 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.55e-05/0.6154, allocations: 35.84 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.606e-05/0.6155, allocations: 85.3 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.6157, allocations: 145.7 kB / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.6157, allocations: 7.938 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6157, allocations: 0 / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.6158, allocations: 0 / 1.027 GB, free: 12.3 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.00066/0.6164, allocations: 482.1 kB / 1.028 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.6165, allocations: 8.031 kB / 1.028 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.6165, allocations: 16.75 kB / 1.028 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.6168, allocations: 244.9 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.6168, allocations: 384 / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.6169, allocations: 12.12 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.617, allocations: 87.31 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.6171, allocations: 0 / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.6171, allocations: 0 / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.6171, allocations: 8 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.37e-05/0.6172, allocations: 35.98 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.6177, allocations: 360.5 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.6179, allocations: 74.61 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.563e-05/0.618, allocations: 32.86 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.618, allocations: 7.969 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.6182, allocations: 83.33 kB / 1.029 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 3.446e-06/0.6182, allocations: 112 / 1.029 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.000339/0.6186, allocations: 145.3 kB / 1.029 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.6186, allocations: 81.11 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.6189, allocations: 263 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.6189, allocations: 29.7 kB / 1.029 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.339e-05/0.619, allocations: 119.9 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.6191, allocations: 19.72 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.6191, allocations: 25.7 kB / 1.029 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.6192, allocations: 330.8 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.787e-05/0.6193, allocations: 27.98 kB / 1.03 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.332e-05/0.6194, allocations: 59.42 kB / 1.03 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.6195, allocations: 77.62 kB / 1.03 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6195, allocations: 0 / 1.03 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002134/0.6198, allocations: 121.7 kB / 1.03 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.6198, allocations: 4 kB / 1.03 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.6198, allocations: 4 kB / 1.03 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.6198, allocations: 0 / 1.03 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.899e-05/0.6199, allocations: 16.06 kB / 1.03 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.6199, allocations: 0 / 1.03 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.62, allocations: 19.86 kB / 1.03 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.62, allocations: 0 / 1.03 GB, free: 9.301 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.0001379/0.6201, allocations: 150.3 kB / 1.03 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.6202, allocations: 15.81 kB / 1.03 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/0.6202, allocations: 17.39 kB / 1.03 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.6202, allocations: 7.984 kB / 1.03 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.6202, allocations: 4 kB / 1.03 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.6203, allocations: 3.938 kB / 1.03 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.6205, allocations: 221.5 kB / 1.03 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.6205, allocations: 0 / 1.03 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.296e-05/0.6205, allocations: 4 kB / 1.03 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.6205, allocations: 3.938 kB / 1.03 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.6205, allocations: 4 kB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.6205, allocations: 3.984 kB / 1.03 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.6205, allocations: 0 / 1.03 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.6208, allocations: 148.8 kB / 1.03 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.6209, allocations: 104.8 kB / 1.03 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.6209, allocations: 0 / 1.03 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.374e-05/0.6209, allocations: 4 kB / 1.03 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.621, allocations: 11.98 kB / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.621, allocations: 3.938 kB / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000184/0.6212, allocations: 192.6 kB / 1.031 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6212, allocations: 0 / 1.031 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002454/0.6214, allocations: 31.98 kB / 1.031 GB, free: 8.297 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.00101/0.6225, allocations: 423.7 kB / 1.031 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.6227, allocations: 71.89 kB / 1.031 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.6227, allocations: 0 / 1.031 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.339e-05/0.6228, allocations: 47.86 kB / 1.031 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.6231, allocations: 39.16 kB / 1.031 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005598/0.6237, allocations: 363.9 kB / 1.032 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.624, allocations: 0.7243 MB / 1.032 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.624, allocations: 19.44 kB / 1.032 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.624, allocations: 0 / 1.032 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of Templates: time 0.004715/0.6287, allocations: 2.508 MB / 1.035 GB, free: 4.227 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