Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00675/0.00675, allocations: 101.6 kB / 15.88 MB, free: 5.863 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.001815/0.001816, allocations: 189.9 kB / 16.79 MB, free: 5.805 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.394/1.394, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.759/2.759, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 66.41 kB / 0.899 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3061, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003649/0.3098, allocations: 1.843 MB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001775/0.3116, allocations: 1.009 MB / 1.056 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.3117, allocations: 7.938 kB / 1.056 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006667/0.3124, allocations: 151.7 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.3127, allocations: 107.7 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004874/0.3132, allocations: 154.7 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.3135, allocations: 159.6 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.3136, allocations: 29.09 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.3137, allocations: 63.7 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.3139, allocations: 67.69 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.3139, allocations: 4 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.3141, allocations: 55.91 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.486e-05/0.3142, allocations: 39.89 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.529e-05/0.3143, allocations: 59.61 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.3145, allocations: 151.9 kB / 1.057 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3145, allocations: 0 / 1.057 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3145, allocations: 0 / 1.057 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3145, allocations: 0 / 1.057 GB, free: 4.402 MB / 0.8106 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.0008095/0.3153, allocations: 492.3 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3154, allocations: 11.97 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.025e-05/0.3155, allocations: 20.69 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.3158, allocations: 256.8 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3158, allocations: 384 / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.3158, allocations: 12.12 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.316, allocations: 91.25 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3161, allocations: 0 / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3161, allocations: 0 / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.3161, allocations: 4 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.3162, allocations: 35.98 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.3168, allocations: 360.6 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.317, allocations: 74.61 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.195e-05/0.3171, allocations: 36.78 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.3171, allocations: 0 / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.3173, allocations: 79.39 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.3173, allocations: 4 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.00035/0.3177, allocations: 141.4 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.3177, allocations: 85.09 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.318, allocations: 255 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.3181, allocations: 29.7 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.412e-05/0.3182, allocations: 120 kB / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.3182, allocations: 27.67 kB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.3182, allocations: 33.7 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3184, allocations: 334.8 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.826e-05/0.3185, allocations: 24 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.354e-05/0.3186, allocations: 55.41 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.3187, allocations: 77.67 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3187, allocations: 0 / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002064/0.3189, allocations: 113.8 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3189, allocations: 11.94 kB / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.319, allocations: 112 / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.319, allocations: 3.938 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.476e-05/0.3191, allocations: 11.98 kB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.3191, allocations: 4 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.021e-05/0.3191, allocations: 19.88 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3192, allocations: 0 / 1.059 GB, free: 1.375 MB / 0.8106 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.0001343/0.3193, allocations: 141.8 kB / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.3194, allocations: 19.8 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.988e-05/0.3194, allocations: 21.39 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.3194, allocations: 4 kB / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3194, allocations: 0 / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3194, allocations: 3.938 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.3197, allocations: 221.5 kB / 1.06 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3197, allocations: 4 kB / 1.06 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.683e-05/0.3197, allocations: 11.92 kB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3197, allocations: 0 / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.3197, allocations: 8 kB / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3197, allocations: 0 / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3197, allocations: 0 / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.32, allocations: 136.9 kB / 1.06 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.32, allocations: 96.84 kB / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.3201, allocations: 12 kB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.073e-05/0.3201, allocations: 4 kB / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.3202, allocations: 3.984 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.3202, allocations: 7.938 kB / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001725/0.3204, allocations: 188.6 kB / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3204, allocations: 0 / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000261/0.3207, allocations: 35.89 kB / 1.06 GB, free: 388 kB / 0.8106 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.0009814/0.3216, allocations: 428.8 kB / 1.061 GB, free: 116 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002059/0.3219, allocations: 67.92 kB / 1.061 GB, free: 48 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3219, allocations: 0 / 1.061 GB, free: 48 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.564e-05/0.322, allocations: 35.98 kB / 1.061 GB, free: 12 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.3223, allocations: 41.45 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005856/0.3229, allocations: 362.5 kB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.3232, allocations: 0.7204 MB / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.3232, allocations: 27.36 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3232, allocations: 0 / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of Templates: time 0.004803/0.3281, allocations: 2.548 MB / 1.064 GB, free: 12.27 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches