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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001656/0.001662, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002264/0.002264, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.783/2.783, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 67.64 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3054, allocations: 157.4 MB / 1.052 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002959/0.3084, allocations: 1.846 MB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.31, allocations: 1.013 MB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.894e-05/0.31, allocations: 0 / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.3106, allocations: 159.6 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.3108, allocations: 99.75 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.3112, allocations: 147.2 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.3114, allocations: 167.6 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.659e-05/0.3115, allocations: 21.12 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/0.3116, allocations: 55.75 kB / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.3118, allocations: 71.64 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.3118, allocations: 7.938 kB / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.3119, allocations: 55.95 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.698e-05/0.312, allocations: 35.91 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.198e-05/0.3121, allocations: 55.55 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.3123, allocations: 195.7 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3123, allocations: 0 / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3124, allocations: 4 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.3124, allocations: 4 kB / 1.056 GB, free: 4.953 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.000658/0.313, allocations: 492.3 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.3131, allocations: 12.03 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.773e-05/0.3131, allocations: 20.75 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.3134, allocations: 248.8 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3134, allocations: 4.375 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.3134, allocations: 8.125 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.3136, allocations: 91.38 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.3136, allocations: 0 / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3137, allocations: 0 / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.3137, allocations: 7.984 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.3138, allocations: 35.92 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.3143, allocations: 352.6 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.3145, allocations: 78.61 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.258e-05/0.3146, allocations: 36.84 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.3146, allocations: 4 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.3148, allocations: 75.39 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.3148, allocations: 4 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0003579/0.3152, allocations: 141.4 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.3152, allocations: 81.09 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.3155, allocations: 263.3 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3155, allocations: 25.7 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.48e-05/0.3156, allocations: 120 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.3156, allocations: 27.67 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.3157, allocations: 25.81 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3158, allocations: 346.7 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.886e-05/0.3159, allocations: 20 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.788e-05/0.316, allocations: 67.34 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.3161, allocations: 65.7 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3161, allocations: 0 / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002068/0.3163, allocations: 121.5 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3164, allocations: 5.094 kB / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3164, allocations: 0 / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3164, allocations: 4 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.3165, allocations: 15.92 kB / 1.059 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3165, allocations: 0 / 1.059 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.3165, allocations: 11.84 kB / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3166, allocations: 4 kB / 1.059 GB, free: 1.938 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.0001257/0.3167, allocations: 141.9 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.3167, allocations: 15.81 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.378e-05/0.3168, allocations: 21.39 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.3168, allocations: 0 / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3168, allocations: 0 / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3168, allocations: 7.938 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.317, allocations: 221.5 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.317, allocations: 4 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.263e-05/0.317, allocations: 7.984 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.317, allocations: 0 / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.3171, allocations: 4.078 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3171, allocations: 7.938 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3171, allocations: 7.938 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.3173, allocations: 136.9 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/0.3174, allocations: 96.91 kB / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.3174, allocations: 0 / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.216e-05/0.3175, allocations: 7.938 kB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.3175, allocations: 7.984 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.3175, allocations: 7.938 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000173/0.3177, allocations: 196.6 kB / 1.059 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.332e-06/0.3177, allocations: 0 / 1.059 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002486/0.318, allocations: 39.83 kB / 1.06 GB, free: 0.9297 MB / 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.000959/0.3189, allocations: 428.9 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000197/0.3192, allocations: 67.97 kB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3192, allocations: 8 kB / 1.06 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.397e-05/0.3193, allocations: 35.98 kB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.3196, allocations: 38.44 kB / 1.06 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006806/0.3202, allocations: 328.8 kB / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.3205, allocations: 0.7204 MB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.469e-05/0.3206, allocations: 25.73 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.3207, allocations: 23.42 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3207, allocations: 0 / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of Templates: time 0.005094/0.3258, allocations: 2.184 MB / 1.063 GB, free: 13.21 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches