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.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.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.008384/0.008384, allocations: 100.8 kB / 15.73 MB, free: 5.555 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.002016/0.002016, allocations: 192.6 kB / 16.67 MB, free: 5.484 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.456/2.456, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 64.12 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8304/0.8317, allocations: 151.6 MB / 1.167 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003719/0.8355, allocations: 1.774 MB / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.8373, allocations: 1.026 MB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.8375, allocations: 4 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000702/0.8382, allocations: 159.5 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.8386, allocations: 117 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005234/0.8391, allocations: 165 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.8394, allocations: 167.6 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.8395, allocations: 17.11 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.8396, allocations: 75.69 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.8397, allocations: 75.69 kB / 1.17 GB, free: 432 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.8398, allocations: 12 kB / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.8399, allocations: 55.97 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.413e-05/0.84, allocations: 47.83 kB / 1.17 GB, free: 316 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.28e-05/0.8401, allocations: 63.55 kB / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.8404, allocations: 196.2 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8404, allocations: 0 / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8404, allocations: 0 / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.8404, allocations: 0 / 1.17 GB, free: 56 kB / 0.8887 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.0007525/0.8412, allocations: 0.4923 MB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.8412, allocations: 12.03 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.8413, allocations: 16.84 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.8416, allocations: 248.8 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.8416, allocations: 8.297 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.8416, allocations: 12.12 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.8418, allocations: 91.25 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.8418, allocations: 0 / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.8419, allocations: 4 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.8419, allocations: 7.984 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.54e-05/0.842, allocations: 39.97 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.8425, allocations: 348.7 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.8427, allocations: 74.61 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.379e-05/0.8428, allocations: 36.84 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.8428, allocations: 0 / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.8429, allocations: 83.38 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.843, allocations: 0 / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0003299/0.8433, allocations: 145.5 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.8434, allocations: 81.11 kB / 1.172 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.8436, allocations: 258.9 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.8436, allocations: 33.7 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.8437, allocations: 120.1 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.8438, allocations: 23.86 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.8438, allocations: 33.64 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.8439, allocations: 326.8 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.298e-05/0.844, allocations: 27.98 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.188e-05/0.8441, allocations: 63.42 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.8442, allocations: 78 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.8442, allocations: 3.938 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001915/0.8444, allocations: 113.6 kB / 1.173 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.8444, allocations: 11.98 kB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.8444, allocations: 0 / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.8445, allocations: 0 / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.093e-05/0.8445, allocations: 8 kB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.8446, allocations: 8.062 kB / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.8446, allocations: 19.83 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.8446, allocations: 4.141 kB / 1.173 GB, free: 13 MB / 0.9044 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.0001303/0.8448, allocations: 140.9 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.8448, allocations: 15.91 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.383e-05/0.8448, allocations: 17.41 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.8449, allocations: 7.984 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.8449, allocations: 0 / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.8449, allocations: 7.938 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.8451, allocations: 217.6 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.8451, allocations: 0 / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.146e-05/0.8451, allocations: 7.938 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.8451, allocations: 4 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.8451, allocations: 4 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.8451, allocations: 3.984 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.8451, allocations: 0 / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.8454, allocations: 144.9 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.8454, allocations: 96.97 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.8455, allocations: 7.938 kB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.857e-05/0.8455, allocations: 7.984 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.8456, allocations: 0 / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.8456, allocations: 11.94 kB / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000167/0.8457, allocations: 196.4 kB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8458, allocations: 3.938 kB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002266/0.846, allocations: 31.94 kB / 1.174 GB, free: 12 MB / 0.9044 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.000937/0.8469, allocations: 426.6 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001941/0.8471, allocations: 71.91 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.8472, allocations: 4 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.781e-05/0.8472, allocations: 35.98 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.8475, allocations: 47.73 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.848, allocations: 298.8 kB / 1.175 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.8483, allocations: 0.724 MB / 1.176 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.502e-05/0.8484, allocations: 29.66 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.8484, allocations: 19.44 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of SimCode: time 2.71e-07/0.8484, allocations: 4 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of Templates: time 0.005483/0.8539, allocations: 2.288 MB / 1.178 GB, free: 8.199 MB / 0.9044 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches