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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 225.6 MB / 249.3 MB, free: 3.215 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.365/2.365, allocations: 443.5 MB / 0.7304 GB, free: 13.97 MB / 0.5763 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 67.89 kB / 1.059 GB, free: 1.031 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2599, allocations: 160.7 MB / 1.216 GB, free: 0 / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001607/0.2615, allocations: 0.5934 MB / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 2.809e-05/0.2616, allocations: 0 / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.767e-05/0.2616, allocations: 0 / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.2616, allocations: 0 / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.989e-06/0.2616, allocations: 0 / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.124e-05/0.2616, allocations: 4 kB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.373e-05/0.2617, allocations: 4 kB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.2617, allocations: 0 / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.438e-05/0.2617, allocations: 7.984 kB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.41e-05/0.2618, allocations: 0 / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.995e-06/0.2618, allocations: 0 / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.865e-06/0.2618, allocations: 3.938 kB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.2618, allocations: 3.984 kB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.674e-05/0.2618, allocations: 7.938 kB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 4.137e-05/0.2618, allocations: 0 / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2618, allocations: 0 / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2618, allocations: 0 / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.187e-06/0.2618, allocations: 0 / 1.216 GB, free: 15.37 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.0002669/0.2621, allocations: 315.9 kB / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2622, allocations: 8.031 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.191e-05/0.2622, allocations: 30.75 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.966e-05/0.2622, allocations: 4.922 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.412e-05/0.2623, allocations: 164.3 kB / 1.217 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.2623, allocations: 4.375 kB / 1.217 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-06/0.2623, allocations: 384 / 1.217 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.193e-05/0.2624, allocations: 26.27 kB / 1.217 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2624, allocations: 3.938 kB / 1.217 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.2624, allocations: 7.984 kB / 1.217 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2624, allocations: 0 / 1.217 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.447e-05/0.2624, allocations: 4 kB / 1.217 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.2626, allocations: 153.6 kB / 1.217 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.488e-05/0.2626, allocations: 18.52 kB / 1.217 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.212e-05/0.2626, allocations: 8.953 kB / 1.217 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.2626, allocations: 0 / 1.217 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.2626, allocations: 34.56 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.2626, allocations: 0 / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001025/0.2627, allocations: 45.59 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.2628, allocations: 51.41 kB / 1.217 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.269e-05/0.2628, allocations: 89.86 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.2628, allocations: 29.64 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/0.2629, allocations: 80.14 kB / 1.217 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.2629, allocations: 3.984 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.2629, allocations: 17.84 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.263, allocations: 314.8 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/0.2631, allocations: 4 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-06/0.2631, allocations: 0 / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.112e-05/0.2631, allocations: 8.859 kB / 1.217 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.2631, allocations: 4 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.733e-05/0.2631, allocations: 29.7 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2631, allocations: 12.09 kB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2631, allocations: 3.938 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.2632, allocations: 0 / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.674e-05/0.2632, allocations: 7.922 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.2632, allocations: 3.938 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.205e-06/0.2632, allocations: 0 / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.2632, allocations: 4 kB / 1.218 GB, free: 13.67 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 6.957e-05/0.2633, allocations: 109.8 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-06/0.2633, allocations: 0 / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.514e-05/0.2633, allocations: 11.06 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.2633, allocations: 0 / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2633, allocations: 0 / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2633, allocations: 0 / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.568e-05/0.2634, allocations: 149.7 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2634, allocations: 0 / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-06/0.2634, allocations: 0 / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.2634, allocations: 0 / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.2634, allocations: 3.938 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.2634, allocations: 4 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2634, allocations: 0 / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.459e-05/0.2635, allocations: 65.06 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.2635, allocations: 77.11 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.2635, allocations: 3.938 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.721e-06/0.2636, allocations: 4 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-06/0.2636, allocations: 0 / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-06/0.2636, allocations: 0 / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.909e-05/0.2636, allocations: 75.28 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2636, allocations: 4.031 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001599/0.2637, allocations: 0 / 1.218 GB, free: 13.07 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.0003325/0.2641, allocations: 0.589 MB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.244e-05/0.2641, allocations: 15.88 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2641, allocations: 4.094 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.288e-06/0.2642, allocations: 8 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.2643, allocations: 0 / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002454/0.2645, allocations: 106.6 kB / 1.219 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.2648, allocations: 0.669 MB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.696e-06/0.2648, allocations: 0 / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.2648, allocations: 7.438 kB / 1.219 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.2648, allocations: 4 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.2869, allocations: 0.8762 MB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.903/7.19, allocations: 6.484 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Examples.ModelTime_res.csv","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.391097305000585]