Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.001347/0.001347, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.573/2.573, allocations: 469.4 MB / 0.742 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 72.44 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2343, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002581/0.2369, allocations: 1.538 MB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.648e-05/0.237, allocations: 27.86 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.265e-05/0.2371, allocations: 4 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.276e-05/0.2372, allocations: 7.938 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.193e-05/0.2372, allocations: 11.91 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.922e-05/0.2373, allocations: 15.98 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.14e-05/0.2374, allocations: 55.78 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.2375, allocations: 27.98 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.636e-05/0.2375, allocations: 19.92 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.2376, allocations: 23.86 kB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.2376, allocations: 4 kB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.228e-05/0.2376, allocations: 12 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.195e-05/0.2377, allocations: 15.98 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.2377, allocations: 31.8 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.511e-05/0.2378, allocations: 56.02 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2378, allocations: 0 / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2378, allocations: 0 / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.2378, allocations: 0 / 1.065 GB, free: 12.62 MB / 0.8262 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.0003303/0.2382, allocations: 367.3 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.2382, allocations: 8.031 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.2383, allocations: 46.75 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.435e-05/0.2383, allocations: 8.844 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.2384, allocations: 188.2 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.2385, allocations: 4.375 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.2385, allocations: 8.375 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.2386, allocations: 94.2 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.2386, allocations: 3.938 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2387, allocations: 7.938 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2387, allocations: 7.984 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.72e-05/0.2387, allocations: 47.91 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.2393, allocations: 0.6417 MB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.525e-05/0.2393, allocations: 173.1 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.2394, allocations: 80.14 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.2394, allocations: 79.28 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.2394, allocations: 105.8 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.2394, allocations: 0 / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.614e-05/0.2395, allocations: 41.55 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.2396, allocations: 130.7 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.2397, allocations: 173.3 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.2397, allocations: 25.7 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.2398, allocations: 96.05 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.2398, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.2398, allocations: 21.7 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.874e-05/0.2399, allocations: 322.8 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/0.2399, allocations: 0 / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.24, allocations: 26.56 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.994e-05/0.24, allocations: 30.52 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.24, allocations: 0 / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001076/0.2401, allocations: 61.53 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.2402, allocations: 4 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2402, allocations: 3.938 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.2402, allocations: 4 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.123e-05/0.2402, allocations: 4 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.2402, allocations: 0 / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.2403, allocations: 11.84 kB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-06/0.2403, allocations: 0 / 1.068 GB, free: 9.57 MB / 0.8262 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 8.846e-05/0.2404, allocations: 201.1 kB / 1.068 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.2405, allocations: 112.8 kB / 1.068 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.2405, allocations: 116.8 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.091e-05/0.2406, allocations: 184.3 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-05/0.2406, allocations: 184.2 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.813e-05/0.2407, allocations: 176.3 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.2409, allocations: 429.1 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.067e-05/0.2409, allocations: 105 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.746e-05/0.241, allocations: 101 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.055e-05/0.241, allocations: 180.2 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.437e-05/0.2411, allocations: 188.2 kB / 1.07 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-05/0.2411, allocations: 188.4 kB / 1.07 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-05/0.2412, allocations: 180.2 kB / 1.07 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.2413, allocations: 319.6 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/0.2414, allocations: 186 kB / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.98e-05/0.2414, allocations: 184.1 kB / 1.071 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.942e-05/0.2415, allocations: 109 kB / 1.071 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.2416, allocations: 184.3 kB / 1.071 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.2416, allocations: 104.9 kB / 1.071 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.721e-05/0.2417, allocations: 127.2 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2417, allocations: 0 / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002219/0.2419, allocations: 8 kB / 1.072 GB, free: 5.855 MB / 0.8262 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.0003303/0.2423, allocations: 0.8092 MB / 1.072 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.891e-05/0.2423, allocations: 19.92 kB / 1.072 GB, free: 5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2423, allocations: 0 / 1.072 GB, free: 5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.2424, allocations: 0 / 1.072 GB, free: 5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.2427, allocations: 463.9 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.2439, allocations: 1.631 MB / 1.074 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.2441, allocations: 0.6923 MB / 1.075 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.638e-05/0.2441, allocations: 4 kB / 1.075 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.2442, allocations: 23.42 kB / 1.075 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2442, allocations: 0 / 1.075 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01604/0.2602, allocations: 1.658 MB / 1.077 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.659/6.919, allocations: 8.688 kB / 1.077 GB, free: 0.5078 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches