Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 117.7 kB / 17.13 MB, free: 6.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002333/0.002333, allocations: 209.8 kB / 20.09 MB, free: 3.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.57/1.57, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.921/2.921, allocations: 0.49 GB / 0.7923 GB, free: 1.352 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 71.89 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036/1.038, allocations: 176.1 MB / 1.322 GB, free: 25.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002783/1.041, allocations: 1.808 MB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001526/1.042, allocations: 1.191 MB / 1.325 GB, free: 23.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.026e-05/1.042, allocations: 0 / 1.325 GB, free: 23.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005676/1.043, allocations: 170.1 kB / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003123/1.043, allocations: 161.2 kB / 1.325 GB, free: 22.92 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/1.043, allocations: 129.8 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/1.044, allocations: 174.1 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/1.044, allocations: 14.94 kB / 1.326 GB, free: 22.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.197e-05/1.044, allocations: 82.73 kB / 1.326 GB, free: 22.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/1.044, allocations: 76.39 kB / 1.326 GB, free: 22.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/1.044, allocations: 7.906 kB / 1.326 GB, free: 22.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/1.044, allocations: 59.08 kB / 1.326 GB, free: 22.69 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/1.044, allocations: 51.48 kB / 1.326 GB, free: 22.66 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/1.044, allocations: 60.19 kB / 1.326 GB, free: 22.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002431/1.044, allocations: 214.5 kB / 1.326 GB, free: 22.53 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/1.044, allocations: 0 / 1.326 GB, free: 22.53 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.463e-06/1.044, allocations: 0 / 1.326 GB, free: 22.53 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.531e-06/1.044, allocations: 4 kB / 1.326 GB, free: 22.53 MB / 1.061 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.0006517/1.045, allocations: 0.4969 MB / 1.327 GB, free: 22.05 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/1.045, allocations: 12.27 kB / 1.327 GB, free: 22.04 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.039e-05/1.045, allocations: 21.02 kB / 1.327 GB, free: 22.03 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/1.045, allocations: 255 kB / 1.327 GB, free: 21.79 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/1.045, allocations: 10.88 kB / 1.327 GB, free: 21.78 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/1.046, allocations: 6.625 kB / 1.327 GB, free: 21.78 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/1.046, allocations: 91.92 kB / 1.327 GB, free: 21.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/1.046, allocations: 0 / 1.327 GB, free: 21.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/1.046, allocations: 7.281 kB / 1.327 GB, free: 21.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/1.046, allocations: 2.344 kB / 1.327 GB, free: 21.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.685e-05/1.046, allocations: 29.98 kB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/1.046, allocations: 352.9 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/1.046, allocations: 74.92 kB / 1.327 GB, free: 21.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.859e-05/1.047, allocations: 31 kB / 1.327 GB, free: 21.33 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/1.047, allocations: 1.75 kB / 1.327 GB, free: 21.33 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/1.047, allocations: 86.33 kB / 1.327 GB, free: 21.26 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/1.047, allocations: 0 / 1.327 GB, free: 21.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0003657/1.047, allocations: 146.7 kB / 1.328 GB, free: 21.19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/1.047, allocations: 78.14 kB / 1.328 GB, free: 21.1 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/1.047, allocations: 280.2 kB / 1.328 GB, free: 20.94 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/1.047, allocations: 27.7 kB / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/1.047, allocations: 115.7 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/1.048, allocations: 31.33 kB / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/1.048, allocations: 30.25 kB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.874e-05/1.048, allocations: 328.1 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.851e-05/1.048, allocations: 29.92 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.757e-05/1.048, allocations: 59.72 kB / 1.329 GB, free: 20.38 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/1.048, allocations: 83.12 kB / 1.329 GB, free: 20.33 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.048, allocations: 0.875 kB / 1.329 GB, free: 20.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002055/1.048, allocations: 118.7 kB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/1.048, allocations: 10.94 kB / 1.329 GB, free: 20.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/1.048, allocations: 0.8594 kB / 1.329 GB, free: 20.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/1.048, allocations: 1.594 kB / 1.329 GB, free: 20.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.512e-05/1.048, allocations: 12.03 kB / 1.329 GB, free: 20.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/1.048, allocations: 5.141 kB / 1.329 GB, free: 20.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.955e-05/1.048, allocations: 15.47 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/1.048, allocations: 2.438 kB / 1.329 GB, free: 20.25 MB / 1.061 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.0001041/1.048, allocations: 139.4 kB / 1.329 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/1.048, allocations: 27.12 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/1.049, allocations: 16.22 kB / 1.329 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/1.049, allocations: 5.469 kB / 1.329 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.049, allocations: 1 kB / 1.329 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.049, allocations: 3.938 kB / 1.329 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/1.049, allocations: 224.2 kB / 1.329 GB, free: 19.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.049, allocations: 4 kB / 1.329 GB, free: 19.87 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.228e-05/1.049, allocations: 6.594 kB / 1.329 GB, free: 19.87 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.049, allocations: 0 / 1.329 GB, free: 19.87 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/1.049, allocations: 1.719 kB / 1.329 GB, free: 19.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.049, allocations: 4 kB / 1.329 GB, free: 19.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.049, allocations: 0.875 kB / 1.329 GB, free: 19.86 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/1.049, allocations: 152.9 kB / 1.329 GB, free: 19.76 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/1.049, allocations: 97.09 kB / 1.329 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/1.049, allocations: 5.25 kB / 1.329 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.002e-05/1.049, allocations: 3.25 kB / 1.329 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/1.049, allocations: 6 kB / 1.329 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/1.049, allocations: 6.125 kB / 1.329 GB, free: 19.64 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001997/1.049, allocations: 208.9 kB / 1.33 GB, free: 19.53 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.049, allocations: 0 / 1.33 GB, free: 19.53 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002534/1.05, allocations: 31.09 kB / 1.33 GB, free: 19.52 MB / 1.061 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.001537/1.051, allocations: 425.5 kB / 1.33 GB, free: 19.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002367/1.051, allocations: 67.73 kB / 1.33 GB, free: 19.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.051, allocations: 4.719 kB / 1.33 GB, free: 19.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.731e-05/1.051, allocations: 34.81 kB / 1.33 GB, free: 19.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/1.052, allocations: 38.97 kB / 1.33 GB, free: 19.28 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005908/1.052, allocations: 344.7 kB / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/1.053, allocations: 0.7277 MB / 1.331 GB, free: 18.34 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/1.053, allocations: 23.38 kB / 1.331 GB, free: 18.33 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.053, allocations: 4.531 kB / 1.331 GB, free: 18.32 MB / 1.061 GB Notification: Performance of Templates: time 0.005867/1.058, allocations: 2.616 MB / 1.334 GB, free: 18.01 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.387621279995074]