Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001257/0.001257, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001478/0.001478, allocations: 216.7 kB / 23.03 MB, free: 4.922 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.38/1.38, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.036/3.036, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_12_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.001887/0.001887, allocations: 60.88 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3196, allocations: 176.1 MB / 1.327 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002908/0.3225, allocations: 1.546 MB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001092/0.3226, allocations: 31.86 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.663e-05/0.3226, allocations: 0 / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.3227, allocations: 11.92 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.71e-05/0.3228, allocations: 7.875 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001121/0.3229, allocations: 23.97 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.592e-05/0.323, allocations: 43.73 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3231, allocations: 28.19 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.676e-05/0.3231, allocations: 23.92 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.738e-05/0.3232, allocations: 31.84 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.3232, allocations: 4 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.3232, allocations: 8 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.3233, allocations: 15.92 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.3233, allocations: 27.81 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.3234, allocations: 59.67 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3234, allocations: 0 / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3234, allocations: 0 / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3234, allocations: 0 / 1.328 GB, free: 15.65 MB / 1.029 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.0003912/0.3238, allocations: 290.2 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3239, allocations: 8.031 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.392e-05/0.3239, allocations: 4.188 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.369e-05/0.3239, allocations: 38.75 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.3239, allocations: 12.88 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.3241, allocations: 126.4 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-06/0.3241, allocations: 4.375 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.3241, allocations: 8.375 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.3243, allocations: 104.5 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.3243, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3243, allocations: 4 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.3243, allocations: 4 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.902e-05/0.3244, allocations: 39.91 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.325, allocations: 0.6081 MB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.881e-05/0.3251, allocations: 169.1 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.3251, allocations: 80.14 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.3251, allocations: 79.28 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/0.3252, allocations: 109.8 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3252, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.158e-05/0.3252, allocations: 37.59 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.3253, allocations: 126.7 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.3255, allocations: 172.8 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.3255, allocations: 25.7 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.3256, allocations: 108.1 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.3256, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.3256, allocations: 21.66 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3257, allocations: 314.8 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.3257, allocations: 8 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.146e-05/0.3258, allocations: 26.5 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.389e-05/0.3258, allocations: 26.61 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3258, allocations: 4 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001184/0.326, allocations: 61.58 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.326, allocations: 7.938 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.326, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.326, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.393e-05/0.326, allocations: 8 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.326, allocations: 3.938 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/0.3261, allocations: 11.94 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.3261, allocations: 3.938 kB / 1.331 GB, free: 12.8 MB / 1.029 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.0001079/0.3262, allocations: 193.6 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.311e-05/0.3263, allocations: 121 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.154e-05/0.3263, allocations: 112.8 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.127e-05/0.3264, allocations: 184.2 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.249e-05/0.3265, allocations: 180.2 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.641e-05/0.3265, allocations: 184.2 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.3268, allocations: 392.3 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.645e-05/0.3268, allocations: 108.9 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.3269, allocations: 105 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.086e-05/0.3269, allocations: 180.2 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.145e-05/0.327, allocations: 180.2 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.605e-05/0.3271, allocations: 180.5 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.742e-05/0.3271, allocations: 188.2 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.3273, allocations: 311.8 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.3274, allocations: 120.9 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.635e-05/0.3274, allocations: 184.2 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.499e-05/0.3275, allocations: 104.9 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.3276, allocations: 180.3 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.3276, allocations: 101 kB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001038/0.3278, allocations: 137 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3278, allocations: 0 / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002088/0.328, allocations: 8 kB / 1.334 GB, free: 9.211 MB / 1.029 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.0004373/0.3284, allocations: 0.8087 MB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.353e-05/0.3285, allocations: 15.92 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3285, allocations: 0 / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.3285, allocations: 0 / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.3289, allocations: 459.7 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.3303, allocations: 1.639 MB / 1.337 GB, free: 6.176 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.259e-05/0.3304, allocations: 79.45 kB / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.172e-05/0.3304, allocations: 7.984 kB / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.3305, allocations: 19.44 kB / 1.337 GB, free: 6.051 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3305, allocations: 3.938 kB / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.3514, allocations: 1.877 MB / 1.339 GB, free: 4.324 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.04, allocations: 6.188 kB / 1.339 GB, free: 4.32 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.422742920927703]