Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.002278/0.002278, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002529/0.002529, allocations: 213.5 kB / 22.25 MB, free: 5.262 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.781 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.797/2.797, allocations: 476 MB / 0.7699 GB, free: 4.785 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.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",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.002114/0.002114, allocations: 68.19 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3313, allocations: 170 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002872/0.3342, allocations: 1.489 MB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.3357, allocations: 0.7535 MB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.762e-05/0.3358, allocations: 4 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.567e-05/0.3358, allocations: 15.81 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.209e-05/0.3359, allocations: 7.875 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006336/0.3365, allocations: 143.6 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.3367, allocations: 75.78 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.781e-05/0.3368, allocations: 12.17 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.3369, allocations: 43.84 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.934e-05/0.337, allocations: 27.91 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.337, allocations: 8 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.3373, allocations: 143.7 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.3373, allocations: 23.92 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.3374, allocations: 27.86 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.3376, allocations: 153.2 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3376, allocations: 0 / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3376, allocations: 0 / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.3376, allocations: 0 / 1.285 GB, free: 9.559 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006458/0.3383, allocations: 359.5 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3383, allocations: 8.031 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.3384, allocations: 30.75 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003476/0.3387, allocations: 32.91 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.339, allocations: 134.3 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.339, allocations: 8.375 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.339, allocations: 4.375 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.3392, allocations: 69.58 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3392, allocations: 0 / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.3392, allocations: 7.984 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.3392, allocations: 3.938 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.3394, allocations: 39.98 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005649/0.3399, allocations: 271.9 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.3401, allocations: 42.56 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.071e-05/0.3401, allocations: 32.97 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.3402, allocations: 3.984 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.3403, allocations: 83.31 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.3403, allocations: 4 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003981/0.3407, allocations: 141.6 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.3408, allocations: 51.41 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.3409, allocations: 128.2 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3409, allocations: 29.7 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.341, allocations: 92.09 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.341, allocations: 19.91 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.3411, allocations: 29.64 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3412, allocations: 326.8 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.36e-05/0.3413, allocations: 35.92 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.789e-05/0.3414, allocations: 46.55 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.3416, allocations: 66.56 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3416, allocations: 0 / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002487/0.3418, allocations: 113.5 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3419, allocations: 16 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3419, allocations: 3.938 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3419, allocations: 0 / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.512e-05/0.342, allocations: 11.98 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.342, allocations: 4 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.437e-05/0.342, allocations: 4 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.3421, allocations: 11.92 kB / 1.288 GB, free: 7.117 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: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.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.0001342/0.3422, allocations: 118.9 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.3422, allocations: 3.953 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.3422, allocations: 16.38 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3423, allocations: 0 / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3423, allocations: 3.938 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3423, allocations: 0 / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004881/0.3427, allocations: 345.6 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3427, allocations: 0 / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.3428, allocations: 4 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.3428, allocations: 4 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.3428, allocations: 3.984 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3428, allocations: 3.938 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3428, allocations: 4 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.3431, allocations: 211.4 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.752e-05/0.3431, allocations: 11.89 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.3431, allocations: 3.984 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.913e-05/0.3432, allocations: 11.94 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.3433, allocations: 7.984 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.3433, allocations: 0 / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.668e-05/0.3433, allocations: 98.89 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3433, allocations: 0 / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003005/0.3436, allocations: 39.94 kB / 1.288 GB, free: 6.168 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.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.0009774/0.3446, allocations: 0.831 MB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.3449, allocations: 67.89 kB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3449, allocations: 4.125 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.345, allocations: 31.98 kB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.3453, allocations: 13.66 kB / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.3471, allocations: 1.504 MB / 1.291 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.043e-05/0.3472, allocations: 83.27 kB / 1.291 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.803e-05/0.3472, allocations: 0 / 1.291 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.3473, allocations: 23.42 kB / 1.291 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.3473, allocations: 0 / 1.291 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03204/0.3793, allocations: 3.255 MB / 1.294 GB, free: 404 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.84, allocations: 0.5 kB / 1.294 GB, free: 404 kB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_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_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable win.occ in file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset [Calling sys.exit(0), Time elapsed: 18.664165584836155]