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.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.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.001233/0.001237, 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.001261/0.001261, allocations: 193.3 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.292/1.292, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.603/2.603, allocations: 469.4 MB / 0.742 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 59.77 kB / 0.9082 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2875, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001833/0.2893, allocations: 0.5953 MB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 3.861e-05/0.2894, allocations: 4 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.663e-05/0.2894, allocations: 0 / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.2895, allocations: 0 / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.789e-06/0.2895, allocations: 0 / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.382e-05/0.2895, allocations: 0 / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.046e-05/0.2895, allocations: 4 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.2896, allocations: 0 / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.246e-05/0.2896, allocations: 4 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.777e-05/0.2896, allocations: 3.984 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.355e-06/0.2896, allocations: 0 / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.456e-06/0.2897, allocations: 0 / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.2897, allocations: 4 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.2897, allocations: 3.984 kB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 4.377e-05/0.2897, allocations: 0 / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2897, allocations: 0 / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.777e-06/0.2898, allocations: 0 / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.2898, allocations: 3.938 kB / 1.064 GB, free: 13.87 MB / 0.8262 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.000241/0.29, allocations: 319.5 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2901, allocations: 8.031 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.566e-05/0.2901, allocations: 30.75 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.642e-05/0.2901, allocations: 0.9375 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.352e-05/0.2902, allocations: 164.4 kB / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.2902, allocations: 4.375 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-06/0.2902, allocations: 384 / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.063e-05/0.2903, allocations: 30.27 kB / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.2903, allocations: 3.938 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.2903, allocations: 0 / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.2903, allocations: 4 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.355e-05/0.2903, allocations: 4 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.2904, allocations: 145.7 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.385e-05/0.2905, allocations: 26.53 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.163e-05/0.2905, allocations: 4.859 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.814e-06/0.2905, allocations: 0 / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.2906, allocations: 42.62 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.2906, allocations: 0 / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.000105/0.2907, allocations: 37.58 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.2907, allocations: 51.41 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.969e-05/0.2907, allocations: 93.8 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.2908, allocations: 25.7 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.007e-05/0.2908, allocations: 80.14 kB / 1.065 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.2908, allocations: 0 / 1.065 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.2908, allocations: 25.83 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.444e-05/0.2909, allocations: 310.8 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-06/0.2909, allocations: 0 / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-06/0.291, allocations: 0 / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.359e-05/0.291, allocations: 8.859 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.291, allocations: 0 / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.343e-05/0.291, allocations: 33.64 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.2911, allocations: 8 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2911, allocations: 8.031 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.2911, allocations: 0 / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.075e-05/0.2911, allocations: 4 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2911, allocations: 7.922 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.134e-05/0.2912, allocations: 8 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-06/0.2912, allocations: 0 / 1.066 GB, free: 12.17 MB / 0.8262 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.009e-05/0.2912, allocations: 105.8 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-06/0.2912, allocations: 3.984 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.598e-05/0.2913, allocations: 7.062 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.2913, allocations: 4 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2913, allocations: 4 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.2913, allocations: 0 / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.438e-05/0.2914, allocations: 146 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2914, allocations: 0 / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-06/0.2914, allocations: 0 / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.2914, allocations: 0 / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.2914, allocations: 7.938 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.2914, allocations: 0 / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2914, allocations: 0 / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.503e-05/0.2915, allocations: 64.98 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.2915, allocations: 81.09 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.2915, allocations: 7.938 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-06/0.2916, allocations: 0 / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.2916, allocations: 0 / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-06/0.2916, allocations: 0 / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.543e-05/0.2916, allocations: 75.28 kB / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2916, allocations: 0 / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001934/0.2918, allocations: 4.031 kB / 1.066 GB, free: 11.58 MB / 0.8262 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.0003208/0.2921, allocations: 0.5972 MB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.323e-05/0.2922, allocations: 11.94 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.2922, allocations: 0 / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.762e-06/0.2922, allocations: 8.094 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.2924, allocations: 1.562 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.2927, allocations: 102.7 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.2929, allocations: 0.6729 MB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.05e-05/0.2929, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.2929, allocations: 11.44 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2929, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.3181, allocations: 0.8707 MB / 1.068 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.29/7.608, allocations: 8.922 kB / 1.068 GB, free: 9.27 MB / 0.8262 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) "" Variables in the reference:time,modTim.y Variables in the result:time,modTim.y