Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.00118/0.00118, allocations: 105.7 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.001416/0.001416, 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.285/1.285, allocations: 225.6 MB / 249.3 MB, free: 3.16 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.353/2.353, allocations: 443.5 MB / 0.7304 GB, free: 13.95 MB / 0.5762 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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 71.89 kB / 1.059 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2637, allocations: 160.7 MB / 1.216 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002638/0.2663, allocations: 1.55 MB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001115/0.2664, allocations: 39.84 kB / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.2665, allocations: 0 / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.2666, allocations: 11.86 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.409e-05/0.2666, allocations: 3.938 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 9.126e-05/0.2667, allocations: 19.97 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.626e-05/0.2668, allocations: 47.84 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.2669, allocations: 24.22 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.646e-05/0.2669, allocations: 23.86 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.594e-05/0.267, allocations: 39.89 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.267, allocations: 4 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-06/0.267, allocations: 4 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.284e-05/0.2671, allocations: 19.92 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.2671, allocations: 23.81 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.2672, allocations: 59.69 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2672, allocations: 0 / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2672, allocations: 0 / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2672, allocations: 0 / 1.217 GB, free: 14.07 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003781/0.2676, allocations: 367.2 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2676, allocations: 12.03 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.2677, allocations: 38.75 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.2677, allocations: 8.828 kB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.2679, allocations: 192.3 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.2679, allocations: 4.375 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.2679, allocations: 8.375 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.268, allocations: 96.75 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.268, allocations: 7.938 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2681, allocations: 4 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.2681, allocations: 4 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.482e-05/0.2681, allocations: 35.97 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005656/0.2687, allocations: 0.644 MB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.657e-05/0.2688, allocations: 173.1 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.2688, allocations: 81.16 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.2689, allocations: 75.28 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.2689, allocations: 109.8 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.2689, allocations: 0 / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.814e-05/0.269, allocations: 45.53 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.2691, allocations: 134.7 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.2692, allocations: 160.5 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.2692, allocations: 29.7 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.2693, allocations: 108 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.018e-06/0.2693, allocations: 4 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.2693, allocations: 13.72 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2695, allocations: 322.8 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.2695, allocations: 4 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.5e-05/0.2695, allocations: 26.52 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.212e-05/0.2695, allocations: 26.52 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2696, allocations: 0 / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001172/0.2697, allocations: 61.58 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2697, allocations: 8 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2697, allocations: 4.031 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2697, allocations: 3.984 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.657e-05/0.2698, allocations: 4 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.2698, allocations: 4 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.2698, allocations: 7.891 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.2698, allocations: 4 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 0.0001049/0.2699, allocations: 201.1 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.27, allocations: 108.9 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.91e-05/0.27, allocations: 120.8 kB / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-05/0.2701, allocations: 180.2 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.516e-05/0.2702, allocations: 176.3 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.805e-05/0.2702, allocations: 184.2 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.2705, allocations: 425.2 kB / 1.221 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.185e-05/0.2705, allocations: 101.1 kB / 1.222 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.2706, allocations: 108.9 kB / 1.222 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.319e-05/0.2706, allocations: 184.3 kB / 1.222 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.576e-05/0.2707, allocations: 184.1 kB / 1.222 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.58e-05/0.2708, allocations: 184.3 kB / 1.222 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.791e-05/0.2708, allocations: 184.3 kB / 1.222 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.271, allocations: 311.7 kB / 1.223 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.933e-05/0.271, allocations: 194 kB / 1.223 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.438e-05/0.2711, allocations: 180.2 kB / 1.223 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.35e-05/0.2712, allocations: 105 kB / 1.223 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/0.2713, allocations: 188.2 kB / 1.223 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.2713, allocations: 105 kB / 1.223 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001029/0.2714, allocations: 128.7 kB / 1.223 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.2714, allocations: 4 kB / 1.223 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002084/0.2716, allocations: 4 kB / 1.223 GB, free: 7.301 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 (0): * Single equations (assignments): 0 * 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.000415/0.272, allocations: 0.8203 MB / 1.224 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.808e-05/0.2721, allocations: 8 kB / 1.224 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2721, allocations: 0 / 1.224 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.2721, allocations: 3.938 kB / 1.224 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.2725, allocations: 467.9 kB / 1.225 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.2739, allocations: 1.64 MB / 1.226 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.2741, allocations: 0.6953 MB / 1.227 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.756e-05/0.2742, allocations: 4 kB / 1.227 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.2742, allocations: 27.36 kB / 1.227 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.2742, allocations: 0 / 1.227 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.2978, allocations: 1.678 MB / 1.229 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.053/7.351, allocations: 4 kB / 1.229 GB, free: 1.902 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.514776830998017]