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.001698/0.001698, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001927/0.001927, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.548/1.548, allocations: 225.6 MB / 248.5 MB, free: 3.629 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.753/2.753, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 176] 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.00191/0.00191, allocations: 71.88 kB / 1.057 GB, free: 1.961 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.308, allocations: 160.7 MB / 1.214 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003328/0.3113, allocations: 1.783 MB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.3131, allocations: 1.03 MB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.581e-05/0.3132, allocations: 0 / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006263/0.3138, allocations: 163.5 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.3141, allocations: 119.6 kB / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.3145, allocations: 171.2 kB / 1.217 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.3148, allocations: 163.6 kB / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.3149, allocations: 17.11 kB / 1.217 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.315, allocations: 75.67 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.3151, allocations: 83.67 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.3152, allocations: 8 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.3153, allocations: 59.97 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.555e-05/0.3154, allocations: 47.83 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.28e-05/0.3155, allocations: 63.55 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.3158, allocations: 195.2 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3158, allocations: 0 / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3158, allocations: 0 / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3158, allocations: 0 / 1.218 GB, free: 12.95 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.0007394/0.3165, allocations: 0.4942 MB / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.3166, allocations: 15.97 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.745e-05/0.3166, allocations: 20.83 kB / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.3169, allocations: 248.9 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.317, allocations: 384 / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.317, allocations: 8.125 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.3172, allocations: 95.3 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3172, allocations: 0 / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3172, allocations: 4 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.3172, allocations: 7.938 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.662e-05/0.3173, allocations: 31.98 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005589/0.3179, allocations: 352.7 kB / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.3181, allocations: 70.61 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.418e-05/0.3182, allocations: 36.84 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.3182, allocations: 0 / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.3184, allocations: 83.38 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.3184, allocations: 0 / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0003479/0.3187, allocations: 137.5 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.3188, allocations: 81.11 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.3191, allocations: 259 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.3191, allocations: 29.7 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.067e-05/0.3192, allocations: 124.1 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.3192, allocations: 27.78 kB / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.3193, allocations: 25.72 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3194, allocations: 334.8 kB / 1.22 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.375e-05/0.3195, allocations: 31.92 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.3196, allocations: 59.7 kB / 1.22 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.3197, allocations: 73.73 kB / 1.22 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3197, allocations: 0 / 1.22 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002115/0.32, allocations: 113.6 kB / 1.221 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.32, allocations: 11.94 kB / 1.221 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.32, allocations: 0 / 1.221 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.32, allocations: 0 / 1.221 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.601e-05/0.3201, allocations: 15.92 kB / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.3201, allocations: 8.062 kB / 1.221 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.067e-05/0.3201, allocations: 11.89 kB / 1.221 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.3201, allocations: 0 / 1.221 GB, free: 9.922 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.0001369/0.3203, allocations: 145.8 kB / 1.221 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.3203, allocations: 15.89 kB / 1.221 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.237e-05/0.3204, allocations: 17.41 kB / 1.221 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.3204, allocations: 4 kB / 1.221 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3204, allocations: 0 / 1.221 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.3204, allocations: 11.92 kB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.3206, allocations: 225.5 kB / 1.221 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3206, allocations: 0 / 1.221 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.3206, allocations: 4 kB / 1.221 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3206, allocations: 0 / 1.221 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.3206, allocations: 4 kB / 1.221 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3207, allocations: 3.938 kB / 1.221 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3207, allocations: 0 / 1.221 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.3209, allocations: 160.8 kB / 1.221 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.296e-05/0.321, allocations: 93.02 kB / 1.221 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.321, allocations: 0 / 1.221 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.338e-05/0.3211, allocations: 7.984 kB / 1.221 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.3211, allocations: 4 kB / 1.221 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.3211, allocations: 7.938 kB / 1.221 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002048/0.3213, allocations: 204.1 kB / 1.221 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3213, allocations: 0 / 1.221 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002461/0.3216, allocations: 31.94 kB / 1.222 GB, free: 8.902 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.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.001522/0.3231, allocations: 435 kB / 1.222 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002203/0.3233, allocations: 75.84 kB / 1.222 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3233, allocations: 4 kB / 1.222 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.892e-05/0.3234, allocations: 28.14 kB / 1.222 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.3237, allocations: 44.7 kB / 1.222 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005698/0.3242, allocations: 332.4 kB / 1.222 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.3246, allocations: 0.724 MB / 1.223 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.3247, allocations: 23.44 kB / 1.223 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/0.3247, allocations: 0 / 1.223 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of Templates: time 0.00488/0.3295, allocations: 2.553 MB / 1.226 GB, free: 4.824 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_2/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: 11.708877373952419]