Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_9_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.00618/0.00618, allocations: 98.45 kB / 15.73 MB, free: 6.059 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.001484/0.001484, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.189/1.189, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.063/2.063, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 0.9504 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6526/0.6538, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001369/0.6552, allocations: 0.5904 MB / 1.088 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 3.147e-05/0.6553, allocations: 1.438 kB / 1.088 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.561e-05/0.6553, allocations: 3.938 kB / 1.088 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.6553, allocations: 0 / 1.088 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.889e-06/0.6553, allocations: 0 / 1.088 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.142e-05/0.6554, allocations: 1.406 kB / 1.088 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.975e-05/0.6554, allocations: 4.516 kB / 1.088 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.6555, allocations: 6.188 kB / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.508e-05/0.6555, allocations: 1.25 kB / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.594e-05/0.6555, allocations: 0.7031 kB / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.045e-06/0.6555, allocations: 0 / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.715e-06/0.6555, allocations: 1.094 kB / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.428e-06/0.6555, allocations: 0 / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.516e-05/0.6555, allocations: 0 / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 4.085e-05/0.6556, allocations: 5.578 kB / 1.088 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.6556, allocations: 0 / 1.088 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6556, allocations: 1.188 kB / 1.088 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.6556, allocations: 4.547 kB / 1.088 GB, free: 4.906 MB / 0.8575 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.0001585/0.6558, allocations: 315.6 kB / 1.088 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.6558, allocations: 9.625 kB / 1.088 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.229e-05/0.6558, allocations: 32.91 kB / 1.088 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.585e-05/0.6559, allocations: 0.9375 kB / 1.088 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.4e-05/0.6559, allocations: 169.7 kB / 1.089 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.6559, allocations: 2.125 kB / 1.089 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-06/0.6559, allocations: 384 / 1.089 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.078e-05/0.656, allocations: 28.47 kB / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.656, allocations: 3.938 kB / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-06/0.656, allocations: 4 kB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.656, allocations: 1.25 kB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.442e-05/0.656, allocations: 1.656 kB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.202e-05/0.6561, allocations: 152.2 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 2.323e-05/0.6561, allocations: 20.45 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.6562, allocations: 8.922 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.809e-06/0.6562, allocations: 0 / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.28e-05/0.6562, allocations: 36.8 kB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.6562, allocations: 0 / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 8.529e-05/0.6563, allocations: 42.86 kB / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/0.6563, allocations: 52.56 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.16e-05/0.6563, allocations: 90.38 kB / 1.089 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.569e-06/0.6563, allocations: 25.7 kB / 1.089 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.773e-06/0.6563, allocations: 80.14 kB / 1.089 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.6564, allocations: 1.828 kB / 1.089 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/0.6564, allocations: 15.45 kB / 1.089 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.024e-05/0.6564, allocations: 312.8 kB / 1.089 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-06/0.6564, allocations: 4.906 kB / 1.089 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-06/0.6565, allocations: 0.9375 kB / 1.089 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.892e-05/0.6565, allocations: 12.75 kB / 1.089 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6565, allocations: 3.938 kB / 1.089 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.503e-05/0.6565, allocations: 35.8 kB / 1.089 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.6565, allocations: 10.08 kB / 1.089 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.6565, allocations: 3.938 kB / 1.089 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.6566, allocations: 1.062 kB / 1.089 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.28e-05/0.6566, allocations: 1.891 kB / 1.089 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/0.6566, allocations: 0 / 1.089 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.186e-06/0.6566, allocations: 1.125 kB / 1.089 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-06/0.6566, allocations: 0 / 1.089 GB, free: 3.285 MB / 0.8575 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 3.141e-05/0.6567, allocations: 108.7 kB / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-06/0.6567, allocations: 0.7031 kB / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.278e-05/0.6567, allocations: 16.59 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.21e-07/0.6567, allocations: 0 / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.6567, allocations: 0 / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.6567, allocations: 1.891 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.617e-05/0.6568, allocations: 146.2 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6568, allocations: 0.5625 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-06/0.6568, allocations: 2.312 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.6568, allocations: 0.7969 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.6568, allocations: 3.938 kB / 1.09 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.6568, allocations: 0.9688 kB / 1.09 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.6568, allocations: 4 kB / 1.09 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.866e-05/0.6568, allocations: 61.66 kB / 1.09 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.6569, allocations: 85.62 kB / 1.09 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.185e-06/0.6569, allocations: 5.578 kB / 1.09 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.282e-06/0.6569, allocations: 0 / 1.09 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.995e-06/0.6569, allocations: 1.797 kB / 1.09 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-06/0.6569, allocations: 1.094 kB / 1.09 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.726e-06/0.6569, allocations: 79.31 kB / 1.09 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6569, allocations: 0 / 1.09 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001836/0.6571, allocations: 0.9688 kB / 1.09 GB, free: 2.707 MB / 0.8575 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.0001548/0.6573, allocations: 0.5927 MB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.431e-05/0.6573, allocations: 8.219 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.6573, allocations: 0 / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.3e-06/0.6573, allocations: 2.219 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.6575, allocations: 6.859 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002181/0.6577, allocations: 107.5 kB / 1.091 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.6579, allocations: 0.6712 MB / 1.091 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.388e-06/0.6579, allocations: 1.672 kB / 1.091 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.241e-05/0.6579, allocations: 7.438 kB / 1.091 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.6579, allocations: 0 / 1.091 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.663/3.321, allocations: 0.8823 MB / 1.092 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/14.44, allocations: 5.203 kB / 1.092 GB, free: 16.89 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches