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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008198/0.0008198, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008413/0.0008413, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.643/2.643, allocations: 390.9 MB / 0.666 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005258/0.0005259, allocations: 12 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7968/0.7974, allocations: 142.4 MB / 0.9544 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.001929/0.7993, allocations: 1.476 MB / 0.9559 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.8008, allocations: 0.9384 MB / 0.9568 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.583e-05/0.8009, allocations: 1.188 kB / 0.9568 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006124/0.8016, allocations: 150.5 kB / 0.9569 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.8018, allocations: 95.69 kB / 0.957 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.8022, allocations: 141.3 kB / 0.9572 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.8024, allocations: 146.3 kB / 0.9573 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.8025, allocations: 26.48 kB / 0.9573 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.178e-05/0.8026, allocations: 59.2 kB / 0.9574 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.8027, allocations: 65.66 kB / 0.9574 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.8028, allocations: 3.219 kB / 0.9574 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.8029, allocations: 52.02 kB / 0.9575 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.803, allocations: 34.97 kB / 0.9575 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.803, allocations: 49.05 kB / 0.9576 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.8032, allocations: 149.9 kB / 0.9577 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.8033, allocations: 0 / 0.9577 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8033, allocations: 1.188 kB / 0.9577 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.8033, allocations: 0 / 0.9577 GB, free: 5.207 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.0006056/0.8039, allocations: 481.5 kB / 0.9582 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.8039, allocations: 9.156 kB / 0.9582 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.804, allocations: 18.89 kB / 0.9582 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.8042, allocations: 239 kB / 0.9584 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.8043, allocations: 10.8 kB / 0.9584 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.8043, allocations: 6.297 kB / 0.9585 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.8045, allocations: 87.95 kB / 0.9585 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.8045, allocations: 0 / 0.9585 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.8045, allocations: 1.156 kB / 0.9585 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.8045, allocations: 6.484 kB / 0.9585 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.963e-05/0.8046, allocations: 39.59 kB / 0.9586 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.805, allocations: 351.6 kB / 0.9589 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.8052, allocations: 83.11 kB / 0.959 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.8053, allocations: 33.62 kB / 0.959 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.8053, allocations: 3.938 kB / 0.959 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.8055, allocations: 85.33 kB / 0.9591 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.8055, allocations: 0 / 0.9591 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003382/0.8058, allocations: 143.7 kB / 0.9592 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.8059, allocations: 78.48 kB / 0.9593 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.8061, allocations: 274.7 kB / 0.9596 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.8062, allocations: 27.08 kB / 0.9596 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.396e-05/0.8062, allocations: 116.4 kB / 0.9597 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.8063, allocations: 23.83 kB / 0.9597 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.8063, allocations: 0 / 0.9597 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.057e-05/0.8063, allocations: 332.3 kB / 0.9601 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.896e-05/0.8064, allocations: 29.73 kB / 0.9601 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/0.8065, allocations: 57.42 kB / 0.9601 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.186e-05/0.8066, allocations: 33.8 kB / 0.9602 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.8066, allocations: 0 / 0.9602 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001852/0.8068, allocations: 114.9 kB / 0.9603 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.8068, allocations: 5.562 kB / 0.9603 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.8068, allocations: 7.953 kB / 0.9603 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.8068, allocations: 1.375 kB / 0.9603 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.002e-05/0.8069, allocations: 8.25 kB / 0.9603 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.8069, allocations: 1.375 kB / 0.9603 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.114e-05/0.807, allocations: 13.44 kB / 0.9603 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.807, allocations: 6.734 kB / 0.9603 GB, free: 2.828 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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.8071, allocations: 134.3 kB / 0.9605 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.8072, allocations: 23.97 kB / 0.9605 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/0.8072, allocations: 19.02 kB / 0.9605 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.8072, allocations: 18.56 kB / 0.9605 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.8072, allocations: 1.375 kB / 0.9605 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.8073, allocations: 0 / 0.9605 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.8074, allocations: 214.5 kB / 0.9607 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.8074, allocations: 0.875 kB / 0.9607 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/0.8075, allocations: 3.344 kB / 0.9607 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.8075, allocations: 1.125 kB / 0.9607 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.8075, allocations: 5.125 kB / 0.9607 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8075, allocations: 96 / 0.9607 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8075, allocations: 11.89 kB / 0.9607 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.8077, allocations: 146.1 kB / 0.9609 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.009e-05/0.8078, allocations: 101.8 kB / 0.961 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.8078, allocations: 1.875 kB / 0.961 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.896e-05/0.8078, allocations: 3.438 kB / 0.961 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.8079, allocations: 10.88 kB / 0.961 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.8079, allocations: 10.3 kB / 0.961 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001669/0.8081, allocations: 196.4 kB / 0.9612 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8081, allocations: 0 / 0.9612 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002475/0.8083, allocations: 30.95 kB / 0.9612 GB, free: 2.039 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009174/0.8093, allocations: 428.8 kB / 0.9616 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.8095, allocations: 73.78 kB / 0.9617 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.8095, allocations: 5.031 kB / 0.9617 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.636e-05/0.8096, allocations: 33.17 kB / 0.9617 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.8099, allocations: 32 kB / 0.9618 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.8104, allocations: 322.6 kB / 0.9621 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.8106, allocations: 0.7234 MB / 0.9628 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.772e-05/0.8107, allocations: 26.47 kB / 0.9628 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.8107, allocations: 15.97 kB / 0.9628 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of SimCode: time 3.6e-07/0.8107, allocations: 0.7188 kB / 0.9628 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of Templates: time 0.004998/0.8157, allocations: 2.119 MB / 0.9649 GB, free: 15.72 MB / 0.7325 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