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.001801/0.001801, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002271/0.002271, allocations: 216.8 kB / 22.25 MB, free: 5.082 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 8.012 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.232/3.232, allocations: 0.49 GB / 0.7951 GB, free: 33.41 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.00202/0.00202, allocations: 68.22 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.351, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001996/0.3529, allocations: 0.6067 MB / 1.326 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 5.296e-05/0.353, allocations: 4 kB / 1.326 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.903e-05/0.353, allocations: 0 / 1.326 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.353, allocations: 0 / 1.326 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.945e-06/0.3531, allocations: 0 / 1.326 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.028e-05/0.3531, allocations: 0 / 1.326 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.39e-05/0.3532, allocations: 4 kB / 1.326 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.408e-05/0.3532, allocations: 416 / 1.326 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.105e-05/0.3532, allocations: 0 / 1.326 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.792e-05/0.3532, allocations: 0 / 1.326 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.3532, allocations: 0 / 1.326 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.156e-06/0.3533, allocations: 4 kB / 1.326 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.3533, allocations: 0 / 1.326 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.3533, allocations: 0 / 1.326 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.307e-05/0.3534, allocations: 15.91 kB / 1.326 GB, free: 1.352 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3534, allocations: 3.938 kB / 1.326 GB, free: 1.348 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3534, allocations: 0 / 1.326 GB, free: 1.348 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3534, allocations: 0 / 1.326 GB, free: 1.348 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.0002852/0.3536, allocations: 238.7 kB / 1.327 GB, free: 1.082 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3537, allocations: 8.031 kB / 1.327 GB, free: 1.074 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.3537, allocations: 30.75 kB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.828e-05/0.3537, allocations: 4.938 kB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.786e-05/0.3538, allocations: 114.5 kB / 1.327 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.3539, allocations: 384 / 1.327 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.3539, allocations: 4.359 kB / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.434e-05/0.354, allocations: 26.27 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.354, allocations: 3.938 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.354, allocations: 4 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.354, allocations: 4 kB / 1.327 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.038e-05/0.354, allocations: 3.938 kB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.3542, allocations: 120.7 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.366e-05/0.3542, allocations: 18.61 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.555e-05/0.3542, allocations: 8.859 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.3542, allocations: 3.984 kB / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.3543, allocations: 34.62 kB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.3543, allocations: 0 / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001348/0.3544, allocations: 41.58 kB / 1.327 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.3545, allocations: 51.41 kB / 1.327 GB, free: 500 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.127e-05/0.3545, allocations: 89.86 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.3545, allocations: 25.7 kB / 1.327 GB, free: 368 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.096e-05/0.3546, allocations: 80.14 kB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.3546, allocations: 3.953 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.3546, allocations: 17.72 kB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3548, allocations: 310.8 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.087e-05/0.3548, allocations: 8.109 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-06/0.3548, allocations: 4 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.258e-05/0.3548, allocations: 4.859 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3548, allocations: 0 / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.21e-05/0.3549, allocations: 41.64 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3549, allocations: 4 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.3549, allocations: 7.875 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3549, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.114e-05/0.355, allocations: 96 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.355, allocations: 8 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.197e-06/0.355, allocations: 0 / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.355, allocations: 0 / 1.328 GB, free: 15.85 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 8.495e-05/0.3551, allocations: 110.4 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-06/0.3551, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.13e-05/0.3551, allocations: 6.938 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.3551, allocations: 4 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3551, allocations: 0 / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3551, allocations: 0 / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.66e-05/0.3552, allocations: 116.8 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3552, allocations: 0 / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.476e-05/0.3552, allocations: 8 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.3552, allocations: 3.984 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.3553, allocations: 7.938 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.3553, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3553, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.985e-05/0.3553, allocations: 61.08 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-06/0.3553, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.3553, allocations: 3.938 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-06/0.3554, allocations: 3.938 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.3554, allocations: 7.984 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-06/0.3554, allocations: 0 / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.842e-05/0.3554, allocations: 75.28 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3554, allocations: 4 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001982/0.3556, allocations: 0 / 1.328 GB, free: 15.37 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.0004474/0.3561, allocations: 0.5968 MB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.492e-05/0.3561, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3561, allocations: 4 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.438e-06/0.3561, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.3563, allocations: 1.562 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.0003208/0.3566, allocations: 114.8 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.3569, allocations: 0.6729 MB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.217e-05/0.3569, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.357, allocations: 15.38 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.357, allocations: 0 / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.3852, allocations: 0.9839 MB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.37, allocations: 6.422 kB / 1.33 GB, free: 13.01 MB / 1.029 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.csv","/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.225294808002218]