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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001426, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 193 kB / 16.53 MB, free: 6.391 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.7/2.7, allocations: 461.9 MB / 0.7347 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 65.34 kB / 0.8992 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2972, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.00333/0.3006, allocations: 1.788 MB / 1.055 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.3022, allocations: 1.022 MB / 1.056 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.3024, allocations: 7.938 kB / 1.056 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006567/0.303, allocations: 159.5 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.3034, allocations: 115.6 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.3039, allocations: 162.5 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.3041, allocations: 167.6 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3043, allocations: 25.09 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.3044, allocations: 67.77 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.3045, allocations: 67.69 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.3046, allocations: 8 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.3047, allocations: 63.95 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.249e-05/0.3048, allocations: 47.84 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.211e-05/0.3049, allocations: 63.55 kB / 1.057 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.3052, allocations: 199.6 kB / 1.057 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3052, allocations: 0 / 1.057 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3052, allocations: 0 / 1.057 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.3052, allocations: 0 / 1.057 GB, free: 4.336 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.0007107/0.306, allocations: 0.4886 MB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.306, allocations: 8.625 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/0.306, allocations: 34.75 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.505e-05/0.3061, allocations: 16.75 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.3064, allocations: 256.8 kB / 1.058 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.3064, allocations: 12.38 kB / 1.058 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.3064, allocations: 7.938 kB / 1.058 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.3066, allocations: 87.31 kB / 1.058 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.3067, allocations: 0 / 1.058 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.3067, allocations: 4 kB / 1.058 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.3067, allocations: 7.984 kB / 1.058 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.396e-05/0.3068, allocations: 35.92 kB / 1.058 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/0.3073, allocations: 352.7 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.3075, allocations: 74.61 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.306e-05/0.3076, allocations: 36.84 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.3076, allocations: 8 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.3078, allocations: 75.38 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.3078, allocations: 0 / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004284/0.3082, allocations: 145.4 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.3083, allocations: 81.09 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.3086, allocations: 259.1 kB / 1.059 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.3086, allocations: 33.7 kB / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.711e-05/0.3087, allocations: 116 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.3087, allocations: 20.03 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.3088, allocations: 29.7 kB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3089, allocations: 330.8 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.509e-05/0.309, allocations: 27.94 kB / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.849e-05/0.3091, allocations: 67.34 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.3092, allocations: 65.81 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3092, allocations: 3.938 kB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002112/0.3094, allocations: 125.3 kB / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3095, allocations: 4 kB / 1.059 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3095, allocations: 0 / 1.059 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3095, allocations: 4 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.259e-05/0.3096, allocations: 15.92 kB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.3096, allocations: 4.062 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.575e-05/0.3097, allocations: 11.94 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3097, allocations: 4 kB / 1.059 GB, free: 1.262 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.0001264/0.3098, allocations: 137.8 kB / 1.06 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.3098, allocations: 15.81 kB / 1.06 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.3099, allocations: 21.39 kB / 1.06 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.3099, allocations: 0 / 1.06 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.3099, allocations: 0 / 1.06 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3099, allocations: 7.938 kB / 1.06 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.3101, allocations: 221.5 kB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3102, allocations: 0 / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.752e-05/0.3102, allocations: 11.98 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3102, allocations: 4 kB / 1.06 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3102, allocations: 0 / 1.06 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.3102, allocations: 3.938 kB / 1.06 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3102, allocations: 0 / 1.06 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.3105, allocations: 156.8 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.3105, allocations: 89 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.3106, allocations: 4 kB / 1.06 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.986e-05/0.3106, allocations: 4 kB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.3107, allocations: 11.92 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.3107, allocations: 0 / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001823/0.3109, allocations: 204.3 kB / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3109, allocations: 0 / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002533/0.3111, allocations: 35.89 kB / 1.06 GB, free: 264 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.001382/0.3125, allocations: 1.003 MB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.3127, allocations: 71.97 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3128, allocations: 0 / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.462e-05/0.3129, allocations: 48.12 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.3132, allocations: 43.88 kB / 1.062 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.3154, allocations: 1.939 MB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.3157, allocations: 0.7239 MB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.806e-05/0.3158, allocations: 25.42 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.857e-05/0.3159, allocations: 47.36 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3159, allocations: 0 / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.3392, allocations: 4.42 MB / 1.068 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.386/7.725, allocations: 5.781 kB / 1.068 GB, free: 8.066 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > 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