Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_11_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.007107/0.007106, allocations: 99.59 kB / 15.73 MB, free: 6.484 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.001797/0.001797, allocations: 196.6 kB / 16.68 MB, free: 6.363 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.679/2.679, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002095, allocations: 71.84 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2984, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003073/0.3015, allocations: 1.786 MB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.3031, allocations: 1.025 MB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.746e-05/0.3032, allocations: 4 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.3038, allocations: 167.5 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.3041, allocations: 107.6 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.3046, allocations: 174.8 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.3048, allocations: 163.6 kB / 1.224 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.649e-05/0.3049, allocations: 25.11 kB / 1.224 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.3051, allocations: 71.69 kB / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.3052, allocations: 67.75 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.3052, allocations: 8 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.3054, allocations: 55.97 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.941e-05/0.3054, allocations: 47.78 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.616e-05/0.3055, allocations: 67.59 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.3058, allocations: 195.2 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3058, allocations: 0 / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3058, allocations: 0 / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.3059, allocations: 7.938 kB / 1.224 GB, free: 10.34 MB / 0.9825 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.0006869/0.3065, allocations: 0.4976 MB / 1.225 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3066, allocations: 11.97 kB / 1.225 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/0.3066, allocations: 38.73 kB / 1.225 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.3067, allocations: 16.84 kB / 1.225 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.307, allocations: 241 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.307, allocations: 8.375 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.307, allocations: 7.938 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.3072, allocations: 95.3 kB / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.3072, allocations: 0 / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3072, allocations: 4 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.3073, allocations: 7.984 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.53e-05/0.3074, allocations: 35.97 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/0.3079, allocations: 352.6 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.3081, allocations: 74.67 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.691e-05/0.3081, allocations: 32.84 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.3082, allocations: 4 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.3083, allocations: 83.31 kB / 1.225 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.3083, allocations: 4 kB / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0003263/0.3087, allocations: 141.6 kB / 1.226 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.3087, allocations: 81.05 kB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.309, allocations: 266.9 kB / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.309, allocations: 29.7 kB / 1.226 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.283e-05/0.3091, allocations: 120.1 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.3092, allocations: 23.91 kB / 1.226 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.3092, allocations: 33.64 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3094, allocations: 334.8 kB / 1.226 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.488e-05/0.3094, allocations: 24.27 kB / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.708e-05/0.3095, allocations: 59.36 kB / 1.227 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.3097, allocations: 77.62 kB / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3097, allocations: 4 kB / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001997/0.3099, allocations: 117.5 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.3099, allocations: 4 kB / 1.227 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3099, allocations: 0 / 1.227 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.3099, allocations: 4 kB / 1.227 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.417e-05/0.31, allocations: 8 kB / 1.227 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.31, allocations: 0 / 1.227 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.04e-05/0.3101, allocations: 19.88 kB / 1.227 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.3101, allocations: 4 kB / 1.227 GB, free: 7.246 MB / 0.9825 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.0001259/0.3102, allocations: 146.9 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.3103, allocations: 15.91 kB / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.3103, allocations: 21.39 kB / 1.227 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.3103, allocations: 0 / 1.227 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3103, allocations: 4 kB / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3103, allocations: 7.875 kB / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.3105, allocations: 217.6 kB / 1.227 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3105, allocations: 0 / 1.227 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/0.3106, allocations: 8 kB / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3106, allocations: 0 / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.3106, allocations: 4 kB / 1.227 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.3106, allocations: 4 kB / 1.227 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3106, allocations: 0 / 1.227 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.3108, allocations: 152.9 kB / 1.227 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.3109, allocations: 92.95 kB / 1.227 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.311, allocations: 15.92 kB / 1.227 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.264e-05/0.311, allocations: 0 / 1.227 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.311, allocations: 7.938 kB / 1.227 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.3111, allocations: 11.98 kB / 1.227 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001975/0.3113, allocations: 192.6 kB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3113, allocations: 0 / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002282/0.3115, allocations: 31.94 kB / 1.228 GB, free: 6.23 MB / 0.9825 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.001844/0.3133, allocations: 0.9933 MB / 1.229 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001993/0.3136, allocations: 67.91 kB / 1.229 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3136, allocations: 4 kB / 1.229 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.187e-05/0.3137, allocations: 39.97 kB / 1.229 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.3139, allocations: 46.41 kB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.3161, allocations: 1.967 MB / 1.231 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.3164, allocations: 0.724 MB / 1.231 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.714e-05/0.3165, allocations: 25.41 kB / 1.231 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.608e-05/0.3166, allocations: 47.42 kB / 1.231 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.3166, allocations: 4 kB / 1.231 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8704/1.187, allocations: 4.51 MB / 1.236 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.803/10.99, allocations: 13.81 kB / 1.236 GB, free: 13.94 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches