Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001122/0.001121, allocations: 108 kB / 15.61 MB, free: 152 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.001091/0.001091, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.2 MB / 0.6646 GB, free: 492 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 63.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7853/0.7868, allocations: 140.4 MB / 0.9496 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002998/0.7898, allocations: 1.782 MB / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.7913, allocations: 1.03 MB / 0.9523 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.866e-05/0.7914, allocations: 5.625 kB / 0.9523 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005912/0.792, allocations: 158.1 kB / 0.9525 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.7923, allocations: 108 kB / 0.9526 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.7927, allocations: 171.2 kB / 0.9527 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.7929, allocations: 172.6 kB / 0.9529 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.793, allocations: 25.56 kB / 0.9529 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.471e-05/0.7931, allocations: 67.8 kB / 0.953 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.7932, allocations: 73.08 kB / 0.9531 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.7933, allocations: 7.094 kB / 0.9531 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.7934, allocations: 56.02 kB / 0.9531 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.89e-05/0.7935, allocations: 47.3 kB / 0.9532 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.349e-05/0.7936, allocations: 60.08 kB / 0.9532 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.7938, allocations: 191.7 kB / 0.9534 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7938, allocations: 0 / 0.9534 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7938, allocations: 1.312 kB / 0.9534 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.7938, allocations: 0 / 0.9534 GB, free: 6.277 MB / 0.7169 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.000652/0.7945, allocations: 0.4948 MB / 0.9539 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.7945, allocations: 9.844 kB / 0.9539 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/0.7946, allocations: 20.12 kB / 0.9539 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.7949, allocations: 239.9 kB / 0.9541 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.7949, allocations: 2.719 kB / 0.9541 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.7949, allocations: 14.61 kB / 0.9542 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.7951, allocations: 92.88 kB / 0.9543 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.7951, allocations: 0 / 0.9543 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.7951, allocations: 0 / 0.9543 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.7952, allocations: 7.953 kB / 0.9543 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.729e-05/0.7953, allocations: 42.19 kB / 0.9543 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.7957, allocations: 355.4 kB / 0.9546 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.7959, allocations: 74.92 kB / 0.9547 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.924e-05/0.796, allocations: 36.91 kB / 0.9547 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.796, allocations: 5.312 kB / 0.9547 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.7961, allocations: 89.09 kB / 0.9548 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.532e-06/0.7962, allocations: 0 / 0.9548 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003358/0.7965, allocations: 144.5 kB / 0.955 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.7965, allocations: 78.55 kB / 0.955 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.7968, allocations: 260.1 kB / 0.9553 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.7968, allocations: 38.75 kB / 0.9553 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.7968, allocations: 112.7 kB / 0.9554 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.7969, allocations: 24.05 kB / 0.9555 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.7969, allocations: 31.08 kB / 0.9555 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.072e-05/0.797, allocations: 327.2 kB / 0.9558 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.162e-05/0.797, allocations: 26.77 kB / 0.9558 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.025e-05/0.7971, allocations: 57.3 kB / 0.9559 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.7972, allocations: 80.31 kB / 0.956 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.7972, allocations: 0 / 0.956 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001757/0.7974, allocations: 112 kB / 0.9561 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.7974, allocations: 6.938 kB / 0.9561 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.7975, allocations: 7.922 kB / 0.9561 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.7975, allocations: 0 / 0.9561 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.273e-05/0.7976, allocations: 9.188 kB / 0.9561 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.7976, allocations: 4.844 kB / 0.9561 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.716e-05/0.7976, allocations: 19.34 kB / 0.9561 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.7976, allocations: 3.312 kB / 0.9561 GB, free: 3.82 MB / 0.7169 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 9.409e-05/0.7977, allocations: 150.2 kB / 0.9563 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.7978, allocations: 14.88 kB / 0.9563 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.999e-05/0.7978, allocations: 17.2 kB / 0.9563 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.7978, allocations: 7.781 kB / 0.9563 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7978, allocations: 3.984 kB / 0.9563 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.7978, allocations: 7.938 kB / 0.9563 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.798, allocations: 219.1 kB / 0.9565 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.798, allocations: 0 / 0.9565 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.036e-05/0.798, allocations: 3.812 kB / 0.9565 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.798, allocations: 1.375 kB / 0.9565 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.798, allocations: 4 kB / 0.9565 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.798, allocations: 1.125 kB / 0.9565 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7981, allocations: 0 / 0.9565 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.7983, allocations: 151.5 kB / 0.9567 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.7983, allocations: 92.89 kB / 0.9568 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.7983, allocations: 10 kB / 0.9568 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.723e-05/0.7984, allocations: 5.891 kB / 0.9568 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.7984, allocations: 3.594 kB / 0.9568 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.7984, allocations: 5.594 kB / 0.9568 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001454/0.7986, allocations: 193.6 kB / 0.957 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7986, allocations: 1.312 kB / 0.957 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002539/0.7989, allocations: 30.56 kB / 0.957 GB, free: 3.043 MB / 0.7169 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.0009762/0.7998, allocations: 428.9 kB / 0.9574 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.8001, allocations: 77.22 kB / 0.9575 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.8001, allocations: 0 / 0.9575 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.686e-05/0.8002, allocations: 38.05 kB / 0.9575 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.8005, allocations: 45.23 kB / 0.9576 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.801, allocations: 303.7 kB / 0.9579 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.8011, allocations: 0.73 MB / 0.9586 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.807e-05/0.8012, allocations: 23.47 kB / 0.9586 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.8012, allocations: 19.69 kB / 0.9586 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.8013, allocations: 1.375 kB / 0.9586 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of Templates: time 0.005835/0.8071, allocations: 2.282 MB / 0.9608 GB, free: 0.6562 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches