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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 104.5 kB / 18.05 MB, free: 4.309 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 188.4 kB / 21.17 MB, free: 1.195 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.65/1.65, allocations: 225.6 MB / 249.7 MB, free: 3.383 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.724/2.724, allocations: 443.5 MB / 0.7307 GB, free: 14.04 MB / 0.5762 GB [Timeout remaining time 86] 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=509,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=509,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 75.88 kB / 1.059 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.386, allocations: 160.7 MB / 1.216 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003594/0.3896, allocations: 1.798 MB / 1.218 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00189/0.3914, allocations: 1.034 MB / 1.219 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.588e-05/0.3915, allocations: 0 / 1.219 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000679/0.3922, allocations: 167.5 kB / 1.219 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.3925, allocations: 107.6 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004761/0.393, allocations: 178.5 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.3932, allocations: 163.5 kB / 1.22 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3933, allocations: 17.11 kB / 1.22 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.3935, allocations: 71.75 kB / 1.22 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.3936, allocations: 75.67 kB / 1.22 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.3936, allocations: 8 kB / 1.22 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.3938, allocations: 59.97 kB / 1.22 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.833e-05/0.3938, allocations: 47.83 kB / 1.22 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.351e-05/0.3939, allocations: 67.55 kB / 1.22 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.3942, allocations: 195.2 kB / 1.22 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3943, allocations: 0 / 1.22 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3943, allocations: 0 / 1.22 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.3943, allocations: 0 / 1.22 GB, free: 11.75 MB / 0.9669 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.0008673/0.3951, allocations: 0.4999 MB / 1.221 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3952, allocations: 8.031 kB / 1.221 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.3952, allocations: 16.84 kB / 1.221 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.3956, allocations: 256.9 kB / 1.221 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.3956, allocations: 4.375 kB / 1.221 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.3956, allocations: 8.125 kB / 1.221 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.3958, allocations: 91.31 kB / 1.221 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3958, allocations: 0 / 1.221 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3958, allocations: 0 / 1.221 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.3959, allocations: 4 kB / 1.221 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.396, allocations: 43.95 kB / 1.221 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/0.3965, allocations: 344.7 kB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.3967, allocations: 74.61 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.156e-05/0.3968, allocations: 32.84 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.3968, allocations: 0 / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.397, allocations: 83.38 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.397, allocations: 0 / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0003613/0.3973, allocations: 149.5 kB / 1.222 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.3974, allocations: 77.11 kB / 1.222 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.3977, allocations: 259 kB / 1.222 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.3977, allocations: 29.7 kB / 1.222 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.944e-05/0.3978, allocations: 120.1 kB / 1.222 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.3978, allocations: 23.8 kB / 1.222 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/0.3979, allocations: 37.81 kB / 1.222 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.398, allocations: 334.6 kB / 1.222 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-05/0.3981, allocations: 31.98 kB / 1.222 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.627e-05/0.3982, allocations: 51.42 kB / 1.223 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.3983, allocations: 78 kB / 1.223 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3983, allocations: 4.031 kB / 1.223 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002066/0.3985, allocations: 113.5 kB / 1.223 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3985, allocations: 4 kB / 1.223 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3985, allocations: 7.938 kB / 1.223 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3986, allocations: 0 / 1.223 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.021e-05/0.3986, allocations: 12 kB / 1.223 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.3987, allocations: 0 / 1.223 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.713e-05/0.3987, allocations: 15.94 kB / 1.223 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.3987, allocations: 7.938 kB / 1.223 GB, free: 8.711 MB / 0.9669 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.0001496/0.3989, allocations: 141.8 kB / 1.223 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.3989, allocations: 15.91 kB / 1.223 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.3992, allocations: 126.9 kB / 1.223 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.3992, allocations: 0 / 1.223 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3992, allocations: 0 / 1.223 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.664e-05/0.3992, allocations: 93.02 kB / 1.223 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.3993, allocations: 11.92 kB / 1.223 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.052e-05/0.3993, allocations: 4 kB / 1.223 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.3994, allocations: 11.98 kB / 1.223 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002518/0.3996, allocations: 180.9 kB / 1.223 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002956/0.3999, allocations: 298.5 kB / 1.224 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.56e-05/0.4, allocations: 28.38 kB / 1.224 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002115/0.4002, allocations: 212.1 kB / 1.224 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of Backend: time 4.61e-07/0.4002, allocations: 4 kB / 1.224 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001956/0.4022, allocations: 437.8 kB / 1.224 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of SimCode: time 0.000868/0.403, allocations: 0.7611 MB / 1.225 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of Templates: time 0.006384/0.4094, allocations: 2.383 MB / 1.227 GB, free: 4.105 MB / 0.9669 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches