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.001565/0.001565, allocations: 108.2 kB / 16.41 MB, free: 6.027 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.001796/0.001796, allocations: 186.7 kB / 17.34 MB, free: 5.633 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.677/2.677, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 59.91 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8822/0.8836, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.004387/0.888, allocations: 1.776 MB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002135/0.8902, allocations: 1.017 MB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.8904, allocations: 3.938 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008871/0.8913, allocations: 167.5 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004042/0.8917, allocations: 111.6 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000637/0.8924, allocations: 168.9 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.8927, allocations: 163.6 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.8929, allocations: 25.11 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.893, allocations: 71.7 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.8932, allocations: 67.75 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.8933, allocations: 4 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.8935, allocations: 67.89 kB / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.942e-05/0.8936, allocations: 43.84 kB / 1.212 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.8937, allocations: 67.61 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000458/0.8941, allocations: 203.2 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.8942, allocations: 4 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.875e-06/0.8942, allocations: 0 / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.8942, allocations: 0 / 1.212 GB, free: 9.633 MB / 0.9356 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.001051/0.8952, allocations: 494.1 kB / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.8953, allocations: 8.031 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.43e-05/0.8954, allocations: 20.73 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.8958, allocations: 241 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.8958, allocations: 4.312 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.8959, allocations: 8.125 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.8961, allocations: 95.31 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.8961, allocations: 0 / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.8961, allocations: 0 / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.8962, allocations: 4 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.8963, allocations: 31.98 kB / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000631/0.8969, allocations: 360.5 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.8972, allocations: 90.59 kB / 1.214 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.306e-05/0.8973, allocations: 32.84 kB / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.8973, allocations: 0 / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.8975, allocations: 83.31 kB / 1.214 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/0.8975, allocations: 4 kB / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0003879/0.8979, allocations: 141.4 kB / 1.214 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.898, allocations: 77.11 kB / 1.214 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.8983, allocations: 266.9 kB / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.8984, allocations: 25.7 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.969e-05/0.8985, allocations: 116.1 kB / 1.214 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.8985, allocations: 27.69 kB / 1.214 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.8986, allocations: 25.72 kB / 1.214 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.8988, allocations: 338.8 kB / 1.215 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.605e-05/0.8988, allocations: 27.98 kB / 1.215 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.587e-05/0.899, allocations: 55.42 kB / 1.215 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.8991, allocations: 73.64 kB / 1.215 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.8991, allocations: 0 / 1.215 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002564/0.8994, allocations: 125.8 kB / 1.215 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.8994, allocations: 4 kB / 1.215 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.8994, allocations: 4 kB / 1.215 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.8994, allocations: 0 / 1.215 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.16e-05/0.8995, allocations: 11.98 kB / 1.215 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.8996, allocations: 4.141 kB / 1.215 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.615e-05/0.8996, allocations: 11.88 kB / 1.215 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.8997, allocations: 4 kB / 1.215 GB, free: 6.609 MB / 0.9356 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.0001588/0.8998, allocations: 145.8 kB / 1.215 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.8999, allocations: 19.8 kB / 1.215 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.438e-05/0.8999, allocations: 17.41 kB / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.8999, allocations: 4 kB / 1.215 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.9, allocations: 0 / 1.215 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.9, allocations: 3.938 kB / 1.215 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.9002, allocations: 225.5 kB / 1.215 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.9002, allocations: 4 kB / 1.215 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.9002, allocations: 4 kB / 1.215 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.9002, allocations: 0 / 1.215 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.9003, allocations: 11.98 kB / 1.215 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.9003, allocations: 0 / 1.215 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9003, allocations: 0 / 1.215 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.9005, allocations: 144.8 kB / 1.216 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.9006, allocations: 96.86 kB / 1.216 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.9006, allocations: 4 kB / 1.216 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.041e-05/0.9006, allocations: 3.984 kB / 1.216 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.9007, allocations: 12 kB / 1.216 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.9007, allocations: 7.938 kB / 1.216 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001815/0.9009, allocations: 196.4 kB / 1.216 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9009, allocations: 0 / 1.216 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002588/0.9012, allocations: 28 kB / 1.216 GB, free: 5.602 MB / 0.9356 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.001151/0.9023, allocations: 431.4 kB / 1.216 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.9026, allocations: 75.91 kB / 1.216 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.9026, allocations: 4.062 kB / 1.216 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.617e-05/0.9027, allocations: 35.92 kB / 1.216 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.9031, allocations: 41.47 kB / 1.216 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006701/0.9037, allocations: 324.3 kB / 1.217 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.9041, allocations: 0.724 MB / 1.217 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.647e-05/0.9042, allocations: 27.44 kB / 1.217 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/0.9042, allocations: 3.938 kB / 1.217 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of Templates: time 0.006106/0.9103, allocations: 2.555 MB / 1.22 GB, free: 1.516 MB / 0.9356 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