Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.Time.Examples.ModelTime,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_latest_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.00558/0.00558, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001242/0.001242, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.672/2.672, allocations: 469.4 MB / 0.7422 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 75.89 kB / 1.064 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.735/0.7364, allocations: 159.1 MB / 1.22 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.00175/0.7382, allocations: 0.5846 MB / 1.22 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 3.95e-05/0.7383, allocations: 3.938 kB / 1.22 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.932e-05/0.7383, allocations: 0 / 1.22 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.7384, allocations: 0 / 1.22 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.922e-06/0.7384, allocations: 0 / 1.22 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.892e-05/0.7384, allocations: 4 kB / 1.22 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.095e-05/0.7385, allocations: 0 / 1.22 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.045e-05/0.7385, allocations: 4 kB / 1.22 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.223e-05/0.7385, allocations: 7.938 kB / 1.22 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.632e-05/0.7386, allocations: 0 / 1.22 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.7386, allocations: 3.984 kB / 1.22 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.442e-06/0.7386, allocations: 4 kB / 1.22 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.7386, allocations: 4 kB / 1.22 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.7386, allocations: 0 / 1.22 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 5.194e-05/0.7387, allocations: 0 / 1.22 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.7387, allocations: 3.984 kB / 1.22 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7387, allocations: 0 / 1.22 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.7387, allocations: 0 / 1.22 GB, free: 1.66 MB / 0.9356 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.0002534/0.739, allocations: 318.1 kB / 1.221 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.739, allocations: 12.56 kB / 1.221 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.306e-05/0.7391, allocations: 30.75 kB / 1.221 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.85e-05/0.7391, allocations: 0.9375 kB / 1.221 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.377e-05/0.7392, allocations: 172.3 kB / 1.221 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.7392, allocations: 384 / 1.221 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.141e-06/0.7392, allocations: 384 / 1.221 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.773e-05/0.7393, allocations: 30.27 kB / 1.221 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.7393, allocations: 3.938 kB / 1.221 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.7393, allocations: 4 kB / 1.221 GB, free: 1 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.7393, allocations: 4 kB / 1.221 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.908e-05/0.7393, allocations: 0 / 1.221 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.7395, allocations: 145.6 kB / 1.221 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.845e-05/0.7395, allocations: 22.55 kB / 1.221 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.7395, allocations: 12.84 kB / 1.221 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.7396, allocations: 0 / 1.221 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.7396, allocations: 38.62 kB / 1.221 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.7396, allocations: 0 / 1.221 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001127/0.7397, allocations: 33.64 kB / 1.221 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.7397, allocations: 51.41 kB / 1.221 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.218e-05/0.7398, allocations: 89.86 kB / 1.221 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.7398, allocations: 25.7 kB / 1.221 GB, free: 492 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.296e-05/0.7398, allocations: 80.14 kB / 1.221 GB, free: 408 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.7399, allocations: 4 kB / 1.221 GB, free: 404 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.7399, allocations: 21.78 kB / 1.221 GB, free: 376 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.74, allocations: 314.8 kB / 1.222 GB, free: 52 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.867e-06/0.74, allocations: 0 / 1.222 GB, free: 52 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.685e-06/0.74, allocations: 4 kB / 1.222 GB, free: 48 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.74, allocations: 4.859 kB / 1.222 GB, free: 40 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.74, allocations: 0 / 1.222 GB, free: 40 kB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.952e-05/0.7401, allocations: 41.75 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.7401, allocations: 8.094 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.7402, allocations: 3.938 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.7402, allocations: 0 / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.902e-05/0.7402, allocations: 0 / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.7402, allocations: 11.92 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-06/0.7403, allocations: 0 / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-06/0.7403, allocations: 0 / 1.222 GB, free: 15.96 MB / 0.9512 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 6.368e-05/0.7403, allocations: 110.3 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-06/0.7403, allocations: 0 / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.111e-05/0.7404, allocations: 11.06 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.7404, allocations: 4 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.7404, allocations: 0 / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.7404, allocations: 3.938 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.653e-05/0.7405, allocations: 145.7 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7405, allocations: 0 / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-05/0.7405, allocations: 3.984 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.7405, allocations: 4 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.7405, allocations: 7.875 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7405, allocations: 0 / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7405, allocations: 0 / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.95e-05/0.7406, allocations: 53.14 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.857e-05/0.7406, allocations: 81.11 kB / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.7406, allocations: 7.922 kB / 1.222 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-06/0.7407, allocations: 7.938 kB / 1.222 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-06/0.7407, allocations: 3.984 kB / 1.222 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.7407, allocations: 0 / 1.222 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 2.36e-05/0.7407, allocations: 75.28 kB / 1.222 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7407, allocations: 4.031 kB / 1.222 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001867/0.7409, allocations: 4 kB / 1.222 GB, free: 15.36 MB / 0.9512 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.0002944/0.7412, allocations: 0.5851 MB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.96e-05/0.7413, allocations: 7.938 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7413, allocations: 4.094 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.53e-06/0.7413, allocations: 4 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.7414, allocations: 0 / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002619/0.7417, allocations: 106.6 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.7419, allocations: 0.6729 MB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.082e-05/0.7419, allocations: 0 / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.772e-05/0.742, allocations: 7.438 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.742, allocations: 0 / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.7592, allocations: 0.8831 MB / 1.224 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.272/8.031, allocations: 10.08 kB / 1.224 GB, free: 13.05 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches