Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 106 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.00112, allocations: 196.5 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.21/2.21, allocations: 390.3 MB / 0.665 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 64.05 kB / 0.8127 GB, free: 33.35 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2355, allocations: 140.4 MB / 0.9498 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002643/0.2382, allocations: 1.553 MB / 0.9513 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.2394, allocations: 0.7246 MB / 0.952 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.604e-05/0.2395, allocations: 0 / 0.952 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.854e-05/0.2396, allocations: 4 kB / 0.952 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.886e-05/0.2397, allocations: 11.86 kB / 0.952 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006428/0.2403, allocations: 107.8 kB / 0.9521 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.2404, allocations: 75.7 kB / 0.9522 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.133e-05/0.2405, allocations: 19.98 kB / 0.9522 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.935e-05/0.2406, allocations: 31.91 kB / 0.9522 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.856e-05/0.2407, allocations: 39.83 kB / 0.9523 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.2407, allocations: 8 kB / 0.9523 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.2409, allocations: 99.84 kB / 0.9524 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.241, allocations: 15.97 kB / 0.9524 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.574e-05/0.241, allocations: 35.8 kB / 0.9524 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.2412, allocations: 104 kB / 0.9525 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2412, allocations: 4 kB / 0.9525 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2412, allocations: 0 / 0.9525 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2412, allocations: 0 / 0.9525 GB, free: 6.438 MB / 0.7325 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.0005812/0.2418, allocations: 416.9 kB / 0.9529 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2418, allocations: 12.03 kB / 0.9529 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.2419, allocations: 4.844 kB / 0.9529 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.242, allocations: 172.3 kB / 0.9531 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.242, allocations: 12.3 kB / 0.9531 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.2421, allocations: 8.375 kB / 0.9531 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.2423, allocations: 73.97 kB / 0.9532 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2423, allocations: 0 / 0.9532 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.2423, allocations: 0 / 0.9532 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2423, allocations: 0 / 0.9532 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.2424, allocations: 39.91 kB / 0.9532 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005863/0.243, allocations: 324.6 kB / 0.9535 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.2431, allocations: 50.5 kB / 0.9536 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.141e-05/0.2432, allocations: 32.97 kB / 0.9536 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.2433, allocations: 0 / 0.9536 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.2435, allocations: 75.38 kB / 0.9537 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.2435, allocations: 0 / 0.9537 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003769/0.2439, allocations: 145.5 kB / 0.9538 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.2439, allocations: 55.41 kB / 0.9539 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/0.244, allocations: 113.8 kB / 0.954 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.244, allocations: 33.7 kB / 0.954 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.2441, allocations: 88.12 kB / 0.9541 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.2441, allocations: 27.81 kB / 0.9541 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.2442, allocations: 29.7 kB / 0.9542 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.2443, allocations: 322.8 kB / 0.9545 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.089e-05/0.2444, allocations: 23.98 kB / 0.9545 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.417e-05/0.2445, allocations: 46.56 kB / 0.9545 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.2446, allocations: 78.8 kB / 0.9546 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2446, allocations: 0 / 0.9546 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002432/0.2449, allocations: 117.5 kB / 0.9547 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2449, allocations: 4 kB / 0.9547 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2449, allocations: 0 / 0.9547 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2449, allocations: 0 / 0.9547 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.245, allocations: 20.05 kB / 0.9547 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2451, allocations: 0 / 0.9547 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.222e-05/0.2451, allocations: 11.91 kB / 0.9547 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.2452, allocations: 11.94 kB / 0.9548 GB, free: 3.887 MB / 0.7325 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 8.864e-05/0.2452, allocations: 127.7 kB / 0.9549 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.2453, allocations: 4 kB / 0.9549 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.569e-05/0.2453, allocations: 8.375 kB / 0.9549 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2453, allocations: 0 / 0.9549 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2453, allocations: 4 kB / 0.9549 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2453, allocations: 0 / 0.9549 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.2458, allocations: 390.2 kB / 0.9553 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2458, allocations: 0 / 0.9553 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.2458, allocations: 7.984 kB / 0.9553 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.2458, allocations: 3.984 kB / 0.9553 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.2458, allocations: 0 / 0.9553 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.2459, allocations: 0 / 0.9553 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2459, allocations: 3.938 kB / 0.9553 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.2461, allocations: 207.5 kB / 0.9555 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.2462, allocations: 85 kB / 0.9556 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.2462, allocations: 7.938 kB / 0.9556 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.823e-05/0.2463, allocations: 0 / 0.9556 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.2463, allocations: 15.92 kB / 0.9556 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.2464, allocations: 0 / 0.9556 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.736e-05/0.2464, allocations: 103.2 kB / 0.9557 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2464, allocations: 0 / 0.9557 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003032/0.2467, allocations: 36 kB / 0.9557 GB, free: 2.805 MB / 0.7325 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.0003113/0.247, allocations: 154.7 kB / 0.9559 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.2473, allocations: 79.89 kB / 0.9559 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2473, allocations: 3.938 kB / 0.9559 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.549e-05/0.2474, allocations: 35.97 kB / 0.956 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.2477, allocations: 8.547 kB / 0.956 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.2481, allocations: 230.7 kB / 0.9562 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.2483, allocations: 0.6883 MB / 0.9569 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.2483, allocations: 15.44 kB / 0.9569 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.2484, allocations: 0 / 0.9569 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of Templates: time 0.00335/0.2517, allocations: 1.622 MB / 0.9585 GB, free: 15.91 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches