Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001118/0.001118, allocations: 108.3 kB / 15.99 MB, free: 6.359 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.001083/0.001083, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.323/1.323, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.519/2.519, allocations: 469.4 MB / 0.7423 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 62.81 kB / 0.9083 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3237, allocations: 159.1 MB / 1.064 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003613/0.3273, allocations: 1.838 MB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.3291, allocations: 1.006 MB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.3292, allocations: 3.938 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006829/0.3299, allocations: 162.7 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.3302, allocations: 107.7 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.3307, allocations: 142.6 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002613/0.331, allocations: 175.6 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.3312, allocations: 25.09 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.3313, allocations: 71.69 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.3314, allocations: 71.69 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.3315, allocations: 8 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.3317, allocations: 63.91 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.3317, allocations: 39.89 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.092e-05/0.3318, allocations: 63.61 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.3321, allocations: 148 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3321, allocations: 8 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3321, allocations: 0 / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.3321, allocations: 0 / 1.068 GB, free: 11.4 MB / 0.8419 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.0007811/0.3329, allocations: 496.2 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3329, allocations: 8.031 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.676e-05/0.333, allocations: 16.75 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.3333, allocations: 256.8 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3334, allocations: 4.375 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.3334, allocations: 8.125 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.3336, allocations: 95.31 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3336, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3336, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.3337, allocations: 7.938 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.486e-05/0.3338, allocations: 27.98 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005394/0.3343, allocations: 360.6 kB / 1.069 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.3345, allocations: 74.61 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.953e-05/0.3346, allocations: 36.84 kB / 1.069 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.3346, allocations: 0 / 1.069 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.3348, allocations: 83.39 kB / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/0.3348, allocations: 0 / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.0003412/0.3352, allocations: 149.3 kB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.3352, allocations: 81.09 kB / 1.069 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.3355, allocations: 256.2 kB / 1.069 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3355, allocations: 29.7 kB / 1.069 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/0.3356, allocations: 120 kB / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.3357, allocations: 27.64 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.3357, allocations: 33.64 kB / 1.07 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3358, allocations: 330.8 kB / 1.07 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-05/0.3359, allocations: 27.98 kB / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.412e-05/0.336, allocations: 63.41 kB / 1.07 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.3362, allocations: 65.7 kB / 1.07 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3362, allocations: 8.031 kB / 1.07 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000204/0.3364, allocations: 117.4 kB / 1.07 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3364, allocations: 7.938 kB / 1.07 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.3364, allocations: 0 / 1.07 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3364, allocations: 0 / 1.07 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.518e-05/0.3365, allocations: 15.98 kB / 1.07 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3365, allocations: 0 / 1.07 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.463e-05/0.3366, allocations: 8.422 kB / 1.07 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.3366, allocations: 7.938 kB / 1.07 GB, free: 8.375 MB / 0.8419 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.0001258/0.3367, allocations: 141.9 kB / 1.07 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.3368, allocations: 19.8 kB / 1.07 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.3368, allocations: 21.33 kB / 1.07 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.3369, allocations: 4 kB / 1.07 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3369, allocations: 0 / 1.07 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3369, allocations: 3.938 kB / 1.07 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.3371, allocations: 233.4 kB / 1.071 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3371, allocations: 0 / 1.071 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.563e-05/0.3371, allocations: 7.938 kB / 1.071 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.3371, allocations: 4 kB / 1.071 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3372, allocations: 3.984 kB / 1.071 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3372, allocations: 0 / 1.071 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3372, allocations: 0 / 1.071 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.3374, allocations: 140.9 kB / 1.071 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/0.3375, allocations: 96.91 kB / 1.071 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.3375, allocations: 0 / 1.071 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.823e-05/0.3376, allocations: 7.938 kB / 1.071 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.3376, allocations: 11.98 kB / 1.071 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.3376, allocations: 3.938 kB / 1.071 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001804/0.3378, allocations: 199.3 kB / 1.071 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3378, allocations: 0 / 1.071 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000241/0.3381, allocations: 27.98 kB / 1.071 GB, free: 7.367 MB / 0.8419 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.0009978/0.3391, allocations: 417.9 kB / 1.072 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.3393, allocations: 87.91 kB / 1.072 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3393, allocations: 0 / 1.072 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.618e-05/0.3394, allocations: 35.98 kB / 1.072 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.3397, allocations: 39.91 kB / 1.072 GB, free: 6.949 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000604/0.3403, allocations: 360.7 kB / 1.072 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.3407, allocations: 0.7162 MB / 1.073 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/0.3407, allocations: 27.42 kB / 1.073 GB, free: 5.797 MB / 0.8419 GB Notification: Performance of SimCode: time 5.72e-07/0.3408, allocations: 4 kB / 1.073 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of Templates: time 0.00505/0.3458, allocations: 2.557 MB / 1.075 GB, free: 3.254 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches