Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.001295/0.001295, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001448/0.001448, allocations: 220 kB / 22.24 MB, free: 5.109 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.357/1.357, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.572/2.572, allocations: 476 MB / 0.7699 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.002047/0.002047, allocations: 65.41 kB / 1.117 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2861, allocations: 170 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003006/0.2891, allocations: 1.548 MB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001385/0.2893, allocations: 27.86 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/0.2893, allocations: 4 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.2895, allocations: 7.922 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.319e-05/0.2895, allocations: 11.86 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001137/0.2896, allocations: 19.98 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.2897, allocations: 47.84 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.2899, allocations: 19.97 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.942e-05/0.2899, allocations: 15.94 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.087e-05/0.29, allocations: 35.84 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.29, allocations: 4 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.267e-05/0.29, allocations: 4 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.2901, allocations: 23.91 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.2901, allocations: 23.86 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.2902, allocations: 67.14 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2902, allocations: 0 / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2902, allocations: 0 / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.2902, allocations: 4 kB / 1.284 GB, free: 10.62 MB / 0.9825 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.000408/0.2907, allocations: 282.2 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.2907, allocations: 12.03 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.2907, allocations: 42.75 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.2908, allocations: 8.891 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.2909, allocations: 126.4 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.291, allocations: 8.375 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.291, allocations: 4.375 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.2911, allocations: 100.7 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.2912, allocations: 3.938 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.2912, allocations: 4 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.2912, allocations: 4 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.551e-05/0.2913, allocations: 43.91 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/0.2919, allocations: 0.6003 MB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.292, allocations: 173.1 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.292, allocations: 80.14 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.2921, allocations: 79.22 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/0.2921, allocations: 113.8 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.2921, allocations: 0 / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.973e-05/0.2922, allocations: 39.41 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.2923, allocations: 126.7 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.2925, allocations: 170.4 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.2925, allocations: 29.7 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.14e-05/0.2925, allocations: 100.1 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.2925, allocations: 0 / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.2926, allocations: 21.67 kB / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2927, allocations: 322.8 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/0.2927, allocations: 0 / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.273e-05/0.2928, allocations: 30.56 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.265e-05/0.2928, allocations: 22.52 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2928, allocations: 4 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001274/0.2929, allocations: 61.58 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.293, allocations: 8 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.293, allocations: 3.938 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.293, allocations: 3.938 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.826e-05/0.293, allocations: 4 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.293, allocations: 4 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.2931, allocations: 7.922 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.2931, allocations: 4 kB / 1.287 GB, free: 7.777 MB / 0.9825 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.0001144/0.2932, allocations: 197.2 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.2933, allocations: 108.9 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.53e-05/0.2933, allocations: 116.7 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.346e-05/0.2934, allocations: 188.2 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.208e-05/0.2935, allocations: 180.3 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-05/0.2935, allocations: 180.2 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.2938, allocations: 392.3 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-05/0.2938, allocations: 104.9 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.323e-05/0.2939, allocations: 101 kB / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.433e-05/0.294, allocations: 184.2 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.863e-05/0.294, allocations: 188.1 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.252e-05/0.2941, allocations: 180.3 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.6e-05/0.2942, allocations: 188.2 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.2944, allocations: 312 kB / 1.289 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.2944, allocations: 112.9 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.926e-05/0.2945, allocations: 188.2 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.072e-05/0.2946, allocations: 108.9 kB / 1.29 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.2947, allocations: 176.3 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-05/0.2947, allocations: 109 kB / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001054/0.2948, allocations: 129.7 kB / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2948, allocations: 0 / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002113/0.295, allocations: 8 kB / 1.29 GB, free: 4.203 MB / 0.9825 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.0004634/0.2955, allocations: 0.8164 MB / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.117e-05/0.2956, allocations: 15.94 kB / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2956, allocations: 0 / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.2956, allocations: 0 / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.296, allocations: 462 kB / 1.291 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.2975, allocations: 1.63 MB / 1.293 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.175e-05/0.2975, allocations: 83.52 kB / 1.293 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.94e-05/0.2976, allocations: 4 kB / 1.293 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.2976, allocations: 19.42 kB / 1.293 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of SimCode: time 7.42e-07/0.2976, allocations: 0 / 1.293 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.3259, allocations: 2.225 MB / 1.295 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.13, allocations: 1.625 kB / 1.295 GB, free: 14.95 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 17.222233089152724]