Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001471/0.001471, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.00161/0.00161, allocations: 191 kB / 17.29 MB, free: 5.516 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.525/2.525, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.001311, allocations: 62.33 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3374, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.00315/0.3406, allocations: 1.486 MB / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.342, allocations: 0.7437 MB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.342, allocations: 0 / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.762e-05/0.3421, allocations: 3.938 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.139e-05/0.3421, allocations: 15.88 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.3426, allocations: 115.6 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.3427, allocations: 83.75 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.091e-05/0.3428, allocations: 4 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.259e-05/0.3429, allocations: 43.91 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.343, allocations: 39.83 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.343, allocations: 8 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.3432, allocations: 95.84 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.465e-05/0.3432, allocations: 15.92 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.3433, allocations: 35.86 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.3435, allocations: 147.5 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3435, allocations: 0 / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3435, allocations: 0 / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.3436, allocations: 0 / 1.029 GB, free: 15.25 MB / 0.8106 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.0006012/0.3442, allocations: 417 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3442, allocations: 8.031 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.3442, allocations: 12.84 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.3444, allocations: 180.2 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.3444, allocations: 384 / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.3444, allocations: 8.359 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.3446, allocations: 73.97 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.3446, allocations: 4 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.3446, allocations: 0 / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.3447, allocations: 0 / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.3448, allocations: 51.89 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005498/0.3453, allocations: 312.8 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.3455, allocations: 42.56 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.463e-05/0.3456, allocations: 36.97 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.3456, allocations: 4 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.3458, allocations: 83.31 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3458, allocations: 0 / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003676/0.3461, allocations: 129.5 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.3462, allocations: 59.39 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.7e-05/0.3463, allocations: 117.8 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.3463, allocations: 33.7 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.3464, allocations: 99.97 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.3464, allocations: 15.91 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.09e-05/0.3465, allocations: 29.7 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3466, allocations: 318.8 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.3468, allocations: 31.97 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.932e-05/0.3469, allocations: 50.5 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.347, allocations: 70.55 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.347, allocations: 3.938 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002193/0.3473, allocations: 113.5 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.3473, allocations: 4.062 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3473, allocations: 4 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3473, allocations: 4 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.024e-05/0.3474, allocations: 15.92 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3474, allocations: 0 / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.546e-05/0.3475, allocations: 7.906 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.3475, allocations: 11.98 kB / 1.032 GB, free: 12.69 MB / 0.8106 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 9.628e-05/0.3476, allocations: 121.7 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.3477, allocations: 15.89 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.3477, allocations: 8.375 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3477, allocations: 4 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3477, allocations: 0 / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3477, allocations: 0 / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.3482, allocations: 382.3 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3482, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/0.3482, allocations: 4 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3482, allocations: 0 / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.3482, allocations: 7.984 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3482, allocations: 0 / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.852e-05/0.3483, allocations: 7.938 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.3485, allocations: 207.8 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.3486, allocations: 85.09 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.3486, allocations: 4 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.491e-05/0.3487, allocations: 4 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.3488, allocations: 15.92 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.3488, allocations: 4 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.158e-05/0.3488, allocations: 91.92 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.414e-06/0.3488, allocations: 0 / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000297/0.3491, allocations: 43.84 kB / 1.033 GB, free: 11.61 MB / 0.8106 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.0003065/0.3495, allocations: 162.4 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.3497, allocations: 79.88 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3497, allocations: 0 / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.737e-05/0.3498, allocations: 35.92 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.3501, allocations: 11.98 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.3505, allocations: 173.1 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.3508, allocations: 0.6885 MB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.222e-05/0.3508, allocations: 4 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.3508, allocations: 15.42 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3508, allocations: 0 / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of Templates: time 0.004233/0.3551, allocations: 1.458 MB / 1.035 GB, free: 8.945 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0