Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Examples_ModelTime",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.001319/0.001319, 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.001313/0.001313, allocations: 193.7 kB / 16.14 MB, free: 6.711 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.316/1.316, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.411/2.411, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.89 kB / 0.8686 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5723/0.5737, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.00167/0.5754, allocations: 0.6526 MB / 1.017 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 2.882e-05/0.5755, allocations: 0 / 1.017 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.201e-05/0.5755, allocations: 4 kB / 1.017 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.582e-05/0.5755, allocations: 0 / 1.017 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.908e-06/0.5755, allocations: 0 / 1.017 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.968e-05/0.5756, allocations: 3.984 kB / 1.017 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.344e-05/0.5756, allocations: 4 kB / 1.017 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.5756, allocations: 0 / 1.017 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.323e-05/0.5757, allocations: 4 kB / 1.017 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.403e-05/0.5757, allocations: 0 / 1.017 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.5757, allocations: 3.938 kB / 1.017 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.695e-06/0.5757, allocations: 0 / 1.017 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.5757, allocations: 4 kB / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.608e-05/0.5757, allocations: 0 / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 3.518e-05/0.5758, allocations: 0 / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.5758, allocations: 0 / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.354e-06/0.5758, allocations: 0 / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.5758, allocations: 7.938 kB / 1.017 GB, free: 2.125 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002119/0.576, allocations: 315.5 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.576, allocations: 11.97 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.903e-05/0.5761, allocations: 38.75 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.571e-05/0.5761, allocations: 0.9375 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.9e-05/0.5762, allocations: 160.4 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-06/0.5762, allocations: 384 / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-06/0.5762, allocations: 384 / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.568e-05/0.5763, allocations: 30.27 kB / 1.018 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.5763, allocations: 11.94 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-06/0.5763, allocations: 0 / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.5763, allocations: 0 / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.405e-05/0.5763, allocations: 0 / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000102/0.5764, allocations: 149.6 kB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.024e-05/0.5765, allocations: 18.61 kB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/0.5765, allocations: 8.859 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.01e-06/0.5765, allocations: 8.062 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.5765, allocations: 34.55 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.5765, allocations: 0 / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 8.889e-05/0.5766, allocations: 37.58 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.5766, allocations: 55.39 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.53e-05/0.5767, allocations: 89.86 kB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.5767, allocations: 25.7 kB / 1.018 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.05e-05/0.5767, allocations: 80.27 kB / 1.018 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.5767, allocations: 15.98 kB / 1.018 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.5768, allocations: 9.719 kB / 1.018 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.5768, allocations: 310.8 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.402e-06/0.5769, allocations: 0 / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-06/0.5769, allocations: 4 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.728e-05/0.5769, allocations: 4.859 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.5769, allocations: 0 / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.257e-05/0.5769, allocations: 49.69 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.577, allocations: 4 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.577, allocations: 3.938 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.577, allocations: 0 / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.247e-05/0.577, allocations: 7.938 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.577, allocations: 0 / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.021e-05/0.5771, allocations: 0 / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-06/0.5771, allocations: 3.938 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * 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 4.792e-05/0.5771, allocations: 106.4 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-06/0.5771, allocations: 4.031 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.299e-05/0.5771, allocations: 11.06 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.5771, allocations: 0 / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.5771, allocations: 0 / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-06/0.5772, allocations: 0 / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.574e-05/0.5772, allocations: 151.9 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.5772, allocations: 0 / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.04e-05/0.5772, allocations: 4 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.5772, allocations: 0 / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.5773, allocations: 3.938 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5773, allocations: 4 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5773, allocations: 4 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.947e-05/0.5773, allocations: 61.06 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.5774, allocations: 77.11 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-06/0.5774, allocations: 3.938 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-06/0.5774, allocations: 0 / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-06/0.5774, allocations: 4 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-06/0.5774, allocations: 0 / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 1.877e-05/0.5774, allocations: 79.31 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5774, allocations: 0 / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001944/0.5776, allocations: 4 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0002429/0.5779, allocations: 0.5928 MB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.457e-05/0.5779, allocations: 8.031 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5779, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.428e-06/0.578, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.5781, allocations: 5.562 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002209/0.5783, allocations: 112.2 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.5785, allocations: 0.6692 MB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.128e-05/0.5785, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.27e-05/0.5785, allocations: 7.438 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.5785, allocations: 4.125 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9343/1.513, allocations: 0.7372 MB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002722/1.513, allocations: 199.3 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.092/3.605, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,modTim.y Variables in the result:modTim.y,time