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.008674/0.008674, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.002349/0.00235, allocations: 196 kB / 16.67 MB, free: 5.926 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.929/2.929, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.89 kB / 1.054 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2972, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001723/0.2989, allocations: 0.5881 MB / 1.208 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 4.371e-05/0.299, allocations: 4 kB / 1.208 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.877e-05/0.299, allocations: 0 / 1.208 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.901e-05/0.299, allocations: 3.938 kB / 1.208 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 1.273e-05/0.2991, allocations: 0 / 1.208 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.671e-05/0.2991, allocations: 3.938 kB / 1.208 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.584e-05/0.2992, allocations: 4 kB / 1.208 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.2992, allocations: 0 / 1.208 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.611e-05/0.2992, allocations: 3.984 kB / 1.208 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.831e-05/0.2993, allocations: 3.984 kB / 1.208 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.2993, allocations: 4 kB / 1.208 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.955e-06/0.2993, allocations: 0 / 1.208 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.2993, allocations: 0 / 1.208 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.2993, allocations: 4 kB / 1.208 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.065e-05/0.2994, allocations: 0 / 1.208 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2994, allocations: 4 kB / 1.208 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2994, allocations: 0 / 1.208 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.2994, allocations: 0 / 1.208 GB, free: 9.551 MB / 0.9669 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.0002723/0.2997, allocations: 307.6 kB / 1.208 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2997, allocations: 8.625 kB / 1.208 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.117e-05/0.2998, allocations: 34.75 kB / 1.208 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.208e-05/0.2998, allocations: 4.922 kB / 1.208 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.914e-05/0.2999, allocations: 160.4 kB / 1.208 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.2999, allocations: 384 / 1.208 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.2999, allocations: 4.375 kB / 1.208 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.296e-05/0.3, allocations: 30.2 kB / 1.208 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3, allocations: 7.875 kB / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.3, allocations: 3.938 kB / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3001, allocations: 0 / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.654e-05/0.3001, allocations: 8 kB / 1.208 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.3002, allocations: 149.7 kB / 1.209 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.371e-05/0.3003, allocations: 14.58 kB / 1.209 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.163e-05/0.3003, allocations: 8.953 kB / 1.209 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.3003, allocations: 0 / 1.209 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.3003, allocations: 38.5 kB / 1.209 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3003, allocations: 0 / 1.209 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001093/0.3004, allocations: 41.64 kB / 1.209 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.3005, allocations: 51.41 kB / 1.209 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.943e-05/0.3005, allocations: 89.86 kB / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.3005, allocations: 25.7 kB / 1.209 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.204e-05/0.3006, allocations: 80.14 kB / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.3006, allocations: 7.891 kB / 1.209 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.3006, allocations: 17.72 kB / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.139e-05/0.3007, allocations: 311 kB / 1.209 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-06/0.3007, allocations: 4 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.01e-06/0.3008, allocations: 0 / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.445e-05/0.3008, allocations: 12.8 kB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3008, allocations: 0 / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.502e-05/0.3008, allocations: 33.7 kB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3009, allocations: 8 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3009, allocations: 3.938 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3009, allocations: 3.984 kB / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.161e-05/0.301, allocations: 8.078 kB / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.301, allocations: 0 / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.101e-05/0.301, allocations: 4 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.301, allocations: 4 kB / 1.209 GB, free: 7.859 MB / 0.9669 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 7.158e-05/0.3011, allocations: 105.8 kB / 1.209 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.992e-06/0.3011, allocations: 0 / 1.209 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.601e-05/0.3011, allocations: 7.062 kB / 1.209 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3011, allocations: 0 / 1.209 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3011, allocations: 0 / 1.209 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3011, allocations: 11.94 kB / 1.209 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.193e-05/0.3012, allocations: 149.9 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3012, allocations: 0 / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-05/0.3012, allocations: 0 / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3012, allocations: 0 / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.3013, allocations: 7.938 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3013, allocations: 0 / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3013, allocations: 0 / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.447e-05/0.3013, allocations: 65.06 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.3014, allocations: 77.11 kB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.3014, allocations: 7.938 kB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-06/0.3014, allocations: 0 / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-06/0.3014, allocations: 0 / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.3014, allocations: 0 / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.321e-05/0.3014, allocations: 75.28 kB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3015, allocations: 0 / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001937/0.3016, allocations: 0 / 1.21 GB, free: 7.27 MB / 0.9669 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.0003258/0.302, allocations: 0.6045 MB / 1.21 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.229e-05/0.3021, allocations: 4 kB / 1.21 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3021, allocations: 0 / 1.21 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.016e-05/0.3021, allocations: 7.938 kB / 1.21 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.3022, allocations: 160 / 1.21 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.3025, allocations: 122.6 kB / 1.21 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.3027, allocations: 0.669 MB / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.18e-05/0.3028, allocations: 0 / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.3028, allocations: 7.438 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of SimCode: time 2.71e-07/0.3028, allocations: 0 / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.3178, allocations: 0.8808 MB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.478/7.796, allocations: 18.44 kB / 1.212 GB, free: 4.938 MB / 0.9669 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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