Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.001302/0.001302, allocations: 107.6 kB / 16.45 MB, free: 6.035 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.001322/0.001322, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.471/1.471, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] 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.664/2.664, allocations: 443.5 MB / 0.7287 GB, free: 13.21 MB / 0.5919 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.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 63.89 kB / 1.056 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8292/0.8313, allocations: 160.7 MB / 1.213 GB, free: 3.934 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002796/0.8341, allocations: 1.49 MB / 1.214 GB, free: 2.766 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.8355, allocations: 0.7355 MB / 1.215 GB, free: 2.195 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.8356, allocations: 5.188 kB / 1.215 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.773e-05/0.8356, allocations: 3.938 kB / 1.215 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.655e-05/0.8357, allocations: 8.969 kB / 1.215 GB, free: 2.18 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006087/0.8363, allocations: 122.4 kB / 1.215 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.8364, allocations: 78.42 kB / 1.215 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.8365, allocations: 12.23 kB / 1.215 GB, free: 2.039 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.803e-05/0.8366, allocations: 29.52 kB / 1.215 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.871e-05/0.8367, allocations: 39.98 kB / 1.215 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.8367, allocations: 14.8 kB / 1.215 GB, free: 1.988 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002345/0.837, allocations: 107.3 kB / 1.215 GB, free: 1.93 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.837, allocations: 11.61 kB / 1.215 GB, free: 1.922 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.991e-05/0.837, allocations: 34.83 kB / 1.215 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.8373, allocations: 139.9 kB / 1.216 GB, free: 1.805 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.8373, allocations: 5.281 kB / 1.216 GB, free: 1.801 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8373, allocations: 0 / 1.216 GB, free: 1.801 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.8373, allocations: 0 / 1.216 GB, free: 1.801 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007585/0.8381, allocations: 427.8 kB / 1.216 GB, free: 1.359 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.8381, allocations: 14.17 kB / 1.216 GB, free: 1.355 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.549e-05/0.8382, allocations: 37.03 kB / 1.216 GB, free: 1.312 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.8382, allocations: 7.922 kB / 1.216 GB, free: 1.309 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.8384, allocations: 172.5 kB / 1.216 GB, free: 1.105 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.8384, allocations: 2.562 kB / 1.216 GB, free: 1.105 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.8384, allocations: 8.562 kB / 1.216 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.8386, allocations: 67.62 kB / 1.216 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.8386, allocations: 0 / 1.216 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.8386, allocations: 5.047 kB / 1.216 GB, free: 1.043 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.8387, allocations: 4.75 kB / 1.216 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.8388, allocations: 41.12 kB / 1.216 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.8394, allocations: 312.7 kB / 1.217 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.8396, allocations: 42.75 kB / 1.217 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.642e-05/0.8397, allocations: 38.33 kB / 1.217 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.8397, allocations: 5.062 kB / 1.217 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000237/0.8399, allocations: 81.25 kB / 1.217 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.8399, allocations: 0 / 1.217 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004117/0.8403, allocations: 140.5 kB / 1.217 GB, free: 484 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.8404, allocations: 57.59 kB / 1.217 GB, free: 416 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.8405, allocations: 125 kB / 1.217 GB, free: 296 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.8405, allocations: 34.77 kB / 1.217 GB, free: 256 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/0.8406, allocations: 90.88 kB / 1.217 GB, free: 164 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.8406, allocations: 14.16 kB / 1.217 GB, free: 152 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.8407, allocations: 27.05 kB / 1.217 GB, free: 128 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.8409, allocations: 323.8 kB / 1.218 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.508e-05/0.8409, allocations: 31.2 kB / 1.218 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.802e-05/0.841, allocations: 51.98 kB / 1.218 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.8412, allocations: 70.27 kB / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8412, allocations: 0 / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002596/0.8415, allocations: 117.8 kB / 1.218 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.8415, allocations: 4.938 kB / 1.218 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.8415, allocations: 1.219 kB / 1.218 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.8415, allocations: 5.156 kB / 1.218 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.8416, allocations: 12.3 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.8416, allocations: 1.156 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.847e-05/0.8417, allocations: 7.344 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.8417, allocations: 7.422 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001101/0.8418, allocations: 129 kB / 1.218 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.8418, allocations: 7.266 kB / 1.218 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.8419, allocations: 10.47 kB / 1.218 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.8419, allocations: 1.125 kB / 1.218 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8419, allocations: 4 kB / 1.218 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.8419, allocations: 0 / 1.218 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004979/0.8424, allocations: 387.2 kB / 1.218 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8424, allocations: 0 / 1.218 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.8424, allocations: 11.36 kB / 1.218 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.8424, allocations: 1.062 kB / 1.218 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.8424, allocations: 1.094 kB / 1.218 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.8424, allocations: 3.938 kB / 1.218 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8424, allocations: 1.125 kB / 1.218 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.8427, allocations: 209.4 kB / 1.219 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.8428, allocations: 83.31 kB / 1.219 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.8428, allocations: 4.906 kB / 1.219 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.8429, allocations: 6.344 kB / 1.219 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.8429, allocations: 6.891 kB / 1.219 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.843, allocations: 6 kB / 1.219 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.955e-05/0.843, allocations: 92.7 kB / 1.219 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.843, allocations: 0 / 1.219 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003287/0.8433, allocations: 44.89 kB / 1.219 GB, free: 14.69 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009098/0.8443, allocations: 0.8083 MB / 1.22 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.8445, allocations: 71.7 kB / 1.22 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.8445, allocations: 5.281 kB / 1.22 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.425e-05/0.8446, allocations: 30.08 kB / 1.22 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.8448, allocations: 14.92 kB / 1.22 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.8466, allocations: 1.503 MB / 1.221 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.8469, allocations: 0.689 MB / 1.222 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.817e-05/0.8469, allocations: 3.156 kB / 1.222 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.847, allocations: 28.77 kB / 1.222 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.847, allocations: 0 / 1.222 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.8723, allocations: 2.678 MB / 1.225 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.144/9.016, allocations: 13.42 kB / 1.225 GB, free: 10.38 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,hea.TOut,hea.occ,hea.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.p,hea.samplePeriod,hea.seed,occ.startTime,occ.startValue,occ.y,time [Calling sys.exit(0), Time elapsed: 14.958712196908891]