Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 216.5 kB / 22.25 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.23/3.23, allocations: 0.49 GB / 0.7951 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 65.45 kB / 1.154 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3395, allocations: 176.1 MB / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001907/0.3414, allocations: 0.599 MB / 1.326 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 3.941e-05/0.3414, allocations: 4 kB / 1.326 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.013e-05/0.3414, allocations: 0 / 1.326 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.3415, allocations: 0 / 1.326 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-06/0.3415, allocations: 0 / 1.326 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.492e-05/0.3415, allocations: 4 kB / 1.326 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.735e-05/0.3416, allocations: 0 / 1.326 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.804e-05/0.3416, allocations: 4.391 kB / 1.326 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.889e-06/0.3416, allocations: 4 kB / 1.326 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.618e-05/0.3416, allocations: 0 / 1.326 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.3416, allocations: 3.938 kB / 1.326 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.12e-06/0.3417, allocations: 4 kB / 1.326 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.3417, allocations: 3.984 kB / 1.326 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.3417, allocations: 0 / 1.326 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 4.937e-05/0.3417, allocations: 0 / 1.326 GB, free: 1.363 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3417, allocations: 0 / 1.326 GB, free: 1.363 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3417, allocations: 0 / 1.326 GB, free: 1.363 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.3417, allocations: 0 / 1.326 GB, free: 1.363 MB / 1.014 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.0002729/0.342, allocations: 246.6 kB / 1.327 GB, free: 1.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3421, allocations: 8.031 kB / 1.327 GB, free: 1.082 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.57e-05/0.3421, allocations: 30.75 kB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.347e-05/0.3422, allocations: 8.922 kB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.37e-05/0.3423, allocations: 110.5 kB / 1.327 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3423, allocations: 384 / 1.327 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.3423, allocations: 384 / 1.327 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.482e-05/0.3424, allocations: 30.27 kB / 1.327 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.3424, allocations: 3.938 kB / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.3424, allocations: 0 / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3424, allocations: 4 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.332e-05/0.3424, allocations: 7.938 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.3426, allocations: 116.8 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.291e-05/0.3426, allocations: 18.56 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.704e-05/0.3426, allocations: 16.94 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.3426, allocations: 0 / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.3427, allocations: 34.56 kB / 1.327 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.3427, allocations: 0 / 1.327 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001184/0.3428, allocations: 37.58 kB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.3428, allocations: 51.41 kB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.474e-05/0.3429, allocations: 89.86 kB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.3429, allocations: 25.7 kB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.25e-05/0.3429, allocations: 84.14 kB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.343, allocations: 3.953 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.343, allocations: 21.83 kB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3432, allocations: 310.8 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.3432, allocations: 4 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-06/0.3432, allocations: 0 / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.551e-05/0.3432, allocations: 8.859 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3432, allocations: 0 / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.787e-05/0.3433, allocations: 37.64 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.3433, allocations: 4 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3433, allocations: 8.031 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3433, allocations: 0 / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.906e-05/0.3433, allocations: 4 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3433, allocations: 3.984 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.678e-06/0.3434, allocations: 3.938 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-06/0.3434, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 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.283e-05/0.3434, allocations: 106.4 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-06/0.3434, allocations: 4 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.922e-05/0.3435, allocations: 6.938 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.3435, allocations: 4 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.3435, allocations: 7.938 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3435, allocations: 0 / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.151e-05/0.3436, allocations: 116.8 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3436, allocations: 4 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.189e-05/0.3436, allocations: 0 / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3436, allocations: 0 / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.3436, allocations: 3.938 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3436, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3436, allocations: 3.938 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.186e-05/0.3437, allocations: 61.14 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-06/0.3437, allocations: 3.984 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.3437, allocations: 3.938 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-06/0.3437, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.013e-05/0.3437, allocations: 4 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.3437, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.271e-05/0.3437, allocations: 79.28 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3437, allocations: 32 / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002122/0.3439, allocations: 4 kB / 1.328 GB, free: 15.38 MB / 1.029 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.000391/0.3443, allocations: 0.5928 MB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.293e-05/0.3444, allocations: 4 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3444, allocations: 96 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.451e-06/0.3444, allocations: 4 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.3445, allocations: 5.875 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.3448, allocations: 102.7 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.3451, allocations: 0.6768 MB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.247e-06/0.3452, allocations: 0 / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.011e-05/0.3452, allocations: 11.38 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3452, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.3718, allocations: 0.9963 MB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.74, allocations: 7.031 kB / 1.33 GB, free: 13.02 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.369296472985297]