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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_10_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.001241/0.001241, allocations: 105.2 kB / 15.99 MB, free: 6.348 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.001226/0.001226, allocations: 198.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437.1 MB / 0.7107 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 68.17 kB / 0.8694 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3079, allocations: 151.6 MB / 1.017 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003756/0.3117, allocations: 1.84 MB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001822/0.3135, allocations: 1.014 MB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.3137, allocations: 3.938 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006858/0.3144, allocations: 155.7 kB / 1.02 GB, free: 7.973 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.3147, allocations: 107.7 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.3152, allocations: 145.5 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.3155, allocations: 171.6 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.3156, allocations: 21.11 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.3158, allocations: 71.69 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.3159, allocations: 75.73 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.316, allocations: 12 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.3161, allocations: 55.92 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.799e-05/0.3162, allocations: 47.83 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.812e-05/0.3163, allocations: 59.61 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.3166, allocations: 148 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3166, allocations: 4 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3166, allocations: 0 / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3166, allocations: 0 / 1.021 GB, free: 7.074 MB / 0.795 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.0008277/0.3174, allocations: 492.2 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3175, allocations: 19.97 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.3176, allocations: 16.75 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.3179, allocations: 244.8 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.3179, allocations: 8.375 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.318, allocations: 8.125 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.3182, allocations: 87.31 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3182, allocations: 0 / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.3182, allocations: 4 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.3182, allocations: 11.98 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.3184, allocations: 31.98 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005742/0.3189, allocations: 352.6 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.3192, allocations: 74.61 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.918e-05/0.3192, allocations: 36.84 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.3193, allocations: 8 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.3195, allocations: 75.38 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.3195, allocations: 0 / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0003953/0.3199, allocations: 145.4 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.32, allocations: 77.11 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.3203, allocations: 267 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.3203, allocations: 29.7 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.3204, allocations: 123.9 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.3204, allocations: 19.73 kB / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.3205, allocations: 29.7 kB / 1.023 GB, free: 4.727 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3207, allocations: 338.7 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-05/0.3208, allocations: 23.98 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.3209, allocations: 59.7 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.321, allocations: 77.72 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.321, allocations: 0 / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000238/0.3213, allocations: 113.4 kB / 1.024 GB, free: 4.094 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.3213, allocations: 4 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3213, allocations: 3.938 kB / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3214, allocations: 4 kB / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.406e-05/0.3214, allocations: 12.06 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.3215, allocations: 0 / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.647e-05/0.3215, allocations: 23.83 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.3216, allocations: 4 kB / 1.024 GB, free: 4.043 MB / 0.795 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.0001604/0.3217, allocations: 142.8 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.3218, allocations: 15.81 kB / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.832e-05/0.3218, allocations: 21.39 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.3218, allocations: 112 / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3219, allocations: 11.94 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3219, allocations: 3.938 kB / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.3221, allocations: 221.5 kB / 1.024 GB, free: 3.582 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3221, allocations: 0 / 1.024 GB, free: 3.582 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.3222, allocations: 11.94 kB / 1.024 GB, free: 3.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3222, allocations: 0 / 1.024 GB, free: 3.57 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3222, allocations: 0 / 1.024 GB, free: 3.57 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.3222, allocations: 4 kB / 1.024 GB, free: 3.566 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3222, allocations: 3.984 kB / 1.024 GB, free: 3.562 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.3225, allocations: 148.8 kB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.3226, allocations: 88.92 kB / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.3226, allocations: 11.98 kB / 1.025 GB, free: 3.281 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.235e-05/0.3227, allocations: 0 / 1.025 GB, free: 3.281 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.3227, allocations: 7.938 kB / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.3227, allocations: 11.92 kB / 1.025 GB, free: 3.262 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002123/0.323, allocations: 192.6 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.323, allocations: 0 / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002637/0.3232, allocations: 35.91 kB / 1.025 GB, free: 3.039 MB / 0.795 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.0016/0.3248, allocations: 425.3 kB / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.3251, allocations: 79.84 kB / 1.025 GB, free: 2.695 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3251, allocations: 0 / 1.025 GB, free: 2.695 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.307e-05/0.3252, allocations: 35.98 kB / 1.025 GB, free: 2.66 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.3255, allocations: 42.94 kB / 1.025 GB, free: 2.625 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006505/0.3262, allocations: 361.1 kB / 1.026 GB, free: 2.238 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.3266, allocations: 0.7279 MB / 1.027 GB, free: 1.484 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.3267, allocations: 15.44 kB / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.3267, allocations: 0 / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of Templates: time 0.005437/0.3321, allocations: 2.548 MB / 1.029 GB, free: 14.93 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (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) 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) Reference file matches