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.001712/0.001712, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002069/0.002069, allocations: 214.5 kB / 23.04 MB, free: 5.074 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.389/1.389, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.636/2.636, allocations: 476.7 MB / 0.7715 GB, free: 4.312 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="cs",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.001955/0.001955, allocations: 65.05 kB / 1.118 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3117, allocations: 169.9 MB / 1.284 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002769/0.3144, allocations: 1.578 MB / 1.286 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001096/0.3145, allocations: 31.91 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.564e-05/0.3146, allocations: 11.88 kB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.3147, allocations: 7.922 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.505e-05/0.3147, allocations: 3.938 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000106/0.3148, allocations: 23.97 kB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.3149, allocations: 47.84 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.3151, allocations: 23.5 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.619e-05/0.3151, allocations: 23.91 kB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.975e-05/0.3152, allocations: 31.84 kB / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.3152, allocations: 4 kB / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.3152, allocations: 8 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.3153, allocations: 19.92 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.3153, allocations: 23.88 kB / 1.286 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.3154, allocations: 59.67 kB / 1.286 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3154, allocations: 0 / 1.286 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3154, allocations: 0 / 1.286 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.3154, allocations: 0 / 1.286 GB, free: 9.918 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.0004083/0.3158, allocations: 286.2 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3159, allocations: 12.03 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.472e-05/0.3159, allocations: 4.188 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.386e-05/0.3159, allocations: 42.69 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.316, allocations: 8.891 kB / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.3161, allocations: 126.4 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.3161, allocations: 8.312 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.3162, allocations: 8.375 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.3163, allocations: 104.5 kB / 1.287 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3164, allocations: 4 kB / 1.287 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.3164, allocations: 0 / 1.287 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3164, allocations: 0 / 1.287 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.519e-05/0.3165, allocations: 43.97 kB / 1.287 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/0.3171, allocations: 0.6118 MB / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.3172, allocations: 169.1 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/0.3172, allocations: 80.14 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.3173, allocations: 75.28 kB / 1.288 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.961e-05/0.3173, allocations: 113.8 kB / 1.288 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3173, allocations: 0 / 1.288 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.167e-05/0.3174, allocations: 47.34 kB / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/0.3175, allocations: 126.7 kB / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.3176, allocations: 168.5 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.3177, allocations: 25.7 kB / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.3177, allocations: 100.1 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.3177, allocations: 0 / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.3178, allocations: 21.67 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3179, allocations: 330.8 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.3179, allocations: 0 / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.863e-05/0.318, allocations: 22.58 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.565e-05/0.318, allocations: 30.52 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.318, allocations: 0 / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001225/0.3182, allocations: 61.58 kB / 1.289 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3182, allocations: 7.938 kB / 1.289 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3182, allocations: 4 kB / 1.289 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3182, allocations: 4 kB / 1.289 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.712e-05/0.3182, allocations: 4 kB / 1.289 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3183, allocations: 0 / 1.289 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.492e-05/0.3183, allocations: 7.938 kB / 1.289 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.3183, allocations: 0 / 1.289 GB, free: 7.062 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.0001246/0.3184, allocations: 197.2 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/0.3185, allocations: 116.8 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.165e-05/0.3186, allocations: 116.8 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.65e-05/0.3186, allocations: 192.2 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.874e-05/0.3187, allocations: 180.3 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.148e-05/0.3188, allocations: 176.3 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.3191, allocations: 400.2 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.894e-05/0.3191, allocations: 105 kB / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.3192, allocations: 104.9 kB / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-05/0.3193, allocations: 184.2 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.318e-05/0.3193, allocations: 176.3 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-05/0.3194, allocations: 192.2 kB / 1.291 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.009e-05/0.3195, allocations: 176.3 kB / 1.291 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.3197, allocations: 312 kB / 1.291 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.916e-05/0.3197, allocations: 108.9 kB / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.9e-05/0.3198, allocations: 192.2 kB / 1.291 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/0.3199, allocations: 105 kB / 1.291 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.97e-05/0.32, allocations: 188.2 kB / 1.292 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.3201, allocations: 105 kB / 1.292 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001166/0.3202, allocations: 128.3 kB / 1.292 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3202, allocations: 0 / 1.292 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002122/0.3204, allocations: 8 kB / 1.292 GB, free: 3.477 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.0004859/0.3209, allocations: 0.8125 MB / 1.293 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.516e-05/0.321, allocations: 12 kB / 1.293 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.321, allocations: 0 / 1.293 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.759e-06/0.321, allocations: 3.938 kB / 1.293 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.3214, allocations: 467.8 kB / 1.293 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.323, allocations: 1.636 MB / 1.295 GB, free: 448 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.3233, allocations: 0.6963 MB / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.974e-05/0.3234, allocations: 4 kB / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.3234, allocations: 23.42 kB / 1.295 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/0.3234, allocations: 0 / 1.295 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.3449, allocations: 1.838 MB / 1.297 GB, free: 14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.04, allocations: 9.344 kB / 1.297 GB, free: 13.99 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 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.mat","/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.415775172004942]