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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.007669/0.007669, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.001742/0.001742, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.627/2.627, allocations: 437 MB / 0.7105 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 63.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2787, allocations: 151.6 MB / 1.166 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001689/0.2804, allocations: 0.5881 MB / 1.167 GB, free: 6.746 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 3.516e-05/0.2805, allocations: 0 / 1.167 GB, free: 6.746 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.699e-05/0.2805, allocations: 0 / 1.167 GB, free: 6.746 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.2805, allocations: 4 kB / 1.167 GB, free: 6.742 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/0.2806, allocations: 0 / 1.167 GB, free: 6.742 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.423e-05/0.2806, allocations: 0 / 1.167 GB, free: 6.742 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.656e-05/0.2807, allocations: 7.984 kB / 1.167 GB, free: 6.734 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.2807, allocations: 4 kB / 1.167 GB, free: 6.73 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.31e-05/0.2807, allocations: 0 / 1.167 GB, free: 6.73 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.535e-05/0.2807, allocations: 0 / 1.167 GB, free: 6.73 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.2808, allocations: 3.984 kB / 1.167 GB, free: 6.727 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.256e-06/0.2808, allocations: 0 / 1.167 GB, free: 6.727 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.2808, allocations: 0 / 1.167 GB, free: 6.727 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.2808, allocations: 3.938 kB / 1.167 GB, free: 6.723 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 4.559e-05/0.2809, allocations: 4 kB / 1.167 GB, free: 6.719 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2809, allocations: 4 kB / 1.167 GB, free: 6.715 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2809, allocations: 0 / 1.167 GB, free: 6.715 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2809, allocations: 0 / 1.167 GB, free: 6.715 MB / 0.92 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.0002392/0.2811, allocations: 307.5 kB / 1.167 GB, free: 6.363 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2812, allocations: 12.06 kB / 1.167 GB, free: 6.352 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.925e-05/0.2812, allocations: 38.69 kB / 1.167 GB, free: 6.305 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.732e-05/0.2812, allocations: 0.9375 kB / 1.167 GB, free: 6.305 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.3e-05/0.2813, allocations: 160.4 kB / 1.167 GB, free: 6.109 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.2813, allocations: 4.312 kB / 1.167 GB, free: 6.105 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.2813, allocations: 4.375 kB / 1.167 GB, free: 6.102 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.394e-05/0.2814, allocations: 30.27 kB / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.2814, allocations: 3.938 kB / 1.167 GB, free: 6.062 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.2814, allocations: 0 / 1.167 GB, free: 6.062 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.2814, allocations: 0 / 1.167 GB, free: 6.062 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.492e-05/0.2815, allocations: 0 / 1.167 GB, free: 6.062 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001147/0.2816, allocations: 153.7 kB / 1.167 GB, free: 5.863 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.698e-05/0.2816, allocations: 22.52 kB / 1.167 GB, free: 5.832 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.136e-05/0.2817, allocations: 8.953 kB / 1.167 GB, free: 5.82 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.2817, allocations: 0 / 1.167 GB, free: 5.82 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.2817, allocations: 30.56 kB / 1.167 GB, free: 5.781 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.2817, allocations: 0 / 1.167 GB, free: 5.781 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001119/0.2818, allocations: 41.62 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.2819, allocations: 59.34 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.034e-05/0.2819, allocations: 93.98 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/0.2819, allocations: 25.7 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.614e-05/0.2819, allocations: 80.14 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.282, allocations: 3.938 kB / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.282, allocations: 10.06 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.2821, allocations: 314.8 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-06/0.2821, allocations: 0 / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.459e-06/0.2821, allocations: 0 / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.529e-05/0.2821, allocations: 16.92 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2821, allocations: 0 / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.794e-05/0.2822, allocations: 41.53 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2822, allocations: 6.188 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2822, allocations: 3.938 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2823, allocations: 4 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.111e-05/0.2823, allocations: 4 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2823, allocations: 0 / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.004e-05/0.2823, allocations: 0 / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.2824, allocations: 0 / 1.168 GB, free: 5.031 MB / 0.92 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.07e-05/0.2824, allocations: 113.9 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-06/0.2824, allocations: 0 / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.688e-05/0.2825, allocations: 11.06 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2825, allocations: 0 / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2825, allocations: 0 / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2825, allocations: 3.984 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.983e-05/0.2826, allocations: 148.5 kB / 1.168 GB, free: 4.703 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2826, allocations: 0 / 1.168 GB, free: 4.703 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.274e-05/0.2826, allocations: 0 / 1.168 GB, free: 4.703 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2826, allocations: 7.938 kB / 1.168 GB, free: 4.695 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.2826, allocations: 3.938 kB / 1.168 GB, free: 4.691 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2826, allocations: 0 / 1.168 GB, free: 4.691 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2826, allocations: 4 kB / 1.168 GB, free: 4.688 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.232e-05/0.2827, allocations: 61.06 kB / 1.168 GB, free: 4.609 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.2827, allocations: 77.11 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.2827, allocations: 3.938 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.087e-06/0.2828, allocations: 4.016 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.2828, allocations: 8 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.2828, allocations: 0 / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.255e-05/0.2828, allocations: 79.28 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.583e-06/0.2828, allocations: 0 / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001786/0.283, allocations: 3.938 kB / 1.169 GB, free: 4.418 MB / 0.92 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.0002885/0.2833, allocations: 0.5967 MB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 5.954e-05/0.2834, allocations: 7.938 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2834, allocations: 0 / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.663e-06/0.2834, allocations: 4 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.2835, allocations: 0 / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002701/0.2838, allocations: 114.6 kB / 1.169 GB, free: 3.629 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.284, allocations: 0.669 MB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.07e-05/0.284, allocations: 4.125 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.61e-05/0.284, allocations: 7.438 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.284, allocations: 0 / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0156/0.2996, allocations: 0.8745 MB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.483/7.783, allocations: 5.5 kB / 1.171 GB, free: 2.109 MB / 0.92 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) Reference file matches