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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00208/0.00208, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 249.4 MB, free: 3.293 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.558/2.558, allocations: 443.4 MB / 0.7304 GB, free: 13.94 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,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.001993/0.001993, allocations: 67.89 kB / 1.059 GB, free: 420 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3222, allocations: 160.7 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003506/0.3257, allocations: 1.811 MB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.3276, allocations: 1.037 MB / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.3277, allocations: 4 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007084/0.3284, allocations: 167.5 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.3287, allocations: 115.5 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000577/0.3293, allocations: 175.4 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000293/0.3296, allocations: 159.6 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.3297, allocations: 17.11 kB / 1.22 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.3299, allocations: 75.69 kB / 1.22 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.33, allocations: 67.69 kB / 1.22 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.3301, allocations: 8 kB / 1.22 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.3303, allocations: 63.95 kB / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.944e-05/0.3304, allocations: 47.84 kB / 1.22 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.3305, allocations: 67.53 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003976/0.3309, allocations: 195.2 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3309, allocations: 0 / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3309, allocations: 4 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.3309, allocations: 0 / 1.22 GB, free: 11.37 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.001038/0.3319, allocations: 0.4883 MB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.332, allocations: 12.03 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.485e-05/0.3321, allocations: 16.84 kB / 1.221 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.3325, allocations: 252.9 kB / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3325, allocations: 8.312 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.3325, allocations: 8.125 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.3327, allocations: 95.25 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3327, allocations: 0 / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3327, allocations: 0 / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.3328, allocations: 4 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.3329, allocations: 39.97 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/0.3335, allocations: 348.7 kB / 1.221 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.3337, allocations: 74.61 kB / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.271e-05/0.3338, allocations: 28.84 kB / 1.221 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.3338, allocations: 7.984 kB / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.334, allocations: 87.36 kB / 1.221 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.334, allocations: 0 / 1.221 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0003809/0.3344, allocations: 145.4 kB / 1.222 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.3344, allocations: 81.11 kB / 1.222 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.3347, allocations: 259 kB / 1.222 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3348, allocations: 25.7 kB / 1.222 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.3349, allocations: 120.1 kB / 1.222 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.3349, allocations: 35.77 kB / 1.222 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.788e-05/0.335, allocations: 29.64 kB / 1.222 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3352, allocations: 334.8 kB / 1.222 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.219e-05/0.3352, allocations: 23.98 kB / 1.222 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.157e-05/0.3353, allocations: 59.42 kB / 1.222 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.3355, allocations: 73.72 kB / 1.223 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.3355, allocations: 4 kB / 1.223 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002148/0.3357, allocations: 113.6 kB / 1.223 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3357, allocations: 11.92 kB / 1.223 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3357, allocations: 0 / 1.223 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.3357, allocations: 8 kB / 1.223 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.421e-05/0.3358, allocations: 8 kB / 1.223 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3358, allocations: 0 / 1.223 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.082e-05/0.3359, allocations: 11.89 kB / 1.223 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.3359, allocations: 12.02 kB / 1.223 GB, free: 8.324 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.0001483/0.336, allocations: 137.8 kB / 1.223 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.3361, allocations: 16.28 kB / 1.223 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.3363, allocations: 130.9 kB / 1.223 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.3364, allocations: 4 kB / 1.223 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3364, allocations: 0 / 1.223 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3364, allocations: 3.938 kB / 1.223 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.3366, allocations: 221.6 kB / 1.223 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3366, allocations: 4 kB / 1.223 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.47e-05/0.3366, allocations: 7.984 kB / 1.223 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3366, allocations: 0 / 1.223 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.3366, allocations: 4 kB / 1.223 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3366, allocations: 0 / 1.223 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3366, allocations: 0 / 1.223 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.3369, allocations: 148.8 kB / 1.223 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.475e-05/0.3369, allocations: 93 kB / 1.223 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.337, allocations: 8 kB / 1.223 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.398e-05/0.337, allocations: 0 / 1.223 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.3371, allocations: 11.98 kB / 1.223 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.3371, allocations: 7.938 kB / 1.223 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001978/0.3373, allocations: 192.4 kB / 1.224 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3373, allocations: 0 / 1.224 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002472/0.3375, allocations: 35.92 kB / 1.224 GB, free: 7.215 MB / 0.9669 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.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * 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.001577/0.3391, allocations: 432.9 kB / 1.224 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.3393, allocations: 67.97 kB / 1.224 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3393, allocations: 0 / 1.224 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-05/0.3394, allocations: 35.92 kB / 1.224 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.3397, allocations: 45.48 kB / 1.224 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006096/0.3404, allocations: 306.7 kB / 1.225 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.3408, allocations: 0.728 MB / 1.225 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.302e-05/0.3409, allocations: 25.7 kB / 1.225 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.3409, allocations: 15.44 kB / 1.225 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of SimCode: time 9.12e-07/0.3409, allocations: 0 / 1.225 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of Templates: time 0.00629/0.3472, allocations: 2.31 MB / 1.228 GB, free: 3.387 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/jenkins/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 [Calling sys.exit(0), Time elapsed: 8.046635521575809]