Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.066/2.066, allocations: 390.2 MB / 0.6647 GB, free: 292 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.91 kB / 0.8126 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4939/0.4951, allocations: 140.4 MB / 0.9497 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.001986/0.4971, allocations: 1.464 MB / 0.9511 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008586/0.498, allocations: 0.7337 MB / 0.9519 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.552e-05/0.498, allocations: 1.156 kB / 0.9519 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.4981, allocations: 7.922 kB / 0.9519 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.073e-05/0.4981, allocations: 13.45 kB / 0.9519 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.4986, allocations: 122 kB / 0.952 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.621e-05/0.4986, allocations: 79.81 kB / 0.9521 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.381e-05/0.4987, allocations: 21.62 kB / 0.9521 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.542e-05/0.4988, allocations: 34.22 kB / 0.9521 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.102e-05/0.4989, allocations: 35.22 kB / 0.9522 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.4989, allocations: 7 kB / 0.9522 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.499, allocations: 97.38 kB / 0.9523 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.4991, allocations: 23.27 kB / 0.9523 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.4991, allocations: 27.17 kB / 0.9523 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.4993, allocations: 137.7 kB / 0.9524 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.4993, allocations: 3.938 kB / 0.9524 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4993, allocations: 0 / 0.9524 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.944e-06/0.4993, allocations: 4 kB / 0.9525 GB, free: 7.098 MB / 0.7169 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.000437/0.4998, allocations: 428.1 kB / 0.9529 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.4998, allocations: 12.88 kB / 0.9529 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.586e-05/0.4998, allocations: 37.86 kB / 0.9529 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.4999, allocations: 3.219 kB / 0.9529 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.459e-05/0.4999, allocations: 168.7 kB / 0.9531 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.4999, allocations: 6.969 kB / 0.9531 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.5, allocations: 3.344 kB / 0.9531 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.5001, allocations: 72.5 kB / 0.9532 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.5001, allocations: 0 / 0.9532 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.5001, allocations: 5.062 kB / 0.9532 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.5001, allocations: 1.25 kB / 0.9532 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.5003, allocations: 40.22 kB / 0.9532 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.5007, allocations: 329.6 kB / 0.9535 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.9e-05/0.5008, allocations: 48.56 kB / 0.9536 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.687e-05/0.5009, allocations: 32.41 kB / 0.9536 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.5009, allocations: 0 / 0.9536 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.501, allocations: 81.44 kB / 0.9537 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.5011, allocations: 0 / 0.9537 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003184/0.5014, allocations: 140.4 kB / 0.9538 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.5014, allocations: 54.25 kB / 0.9539 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.488e-05/0.5015, allocations: 120.8 kB / 0.954 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.5015, allocations: 31.02 kB / 0.954 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.5015, allocations: 86.27 kB / 0.9541 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.5015, allocations: 18.2 kB / 0.9541 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.5016, allocations: 30.47 kB / 0.9541 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.595e-05/0.5016, allocations: 324.2 kB / 0.9544 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.047e-05/0.5017, allocations: 27.02 kB / 0.9545 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.417e-05/0.5018, allocations: 53.05 kB / 0.9545 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.5019, allocations: 73.36 kB / 0.9546 GB, free: 5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.5019, allocations: 0 / 0.9546 GB, free: 5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001923/0.5021, allocations: 113.5 kB / 0.9547 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.5021, allocations: 5.594 kB / 0.9547 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.5021, allocations: 0 / 0.9547 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.5022, allocations: 5.422 kB / 0.9547 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.108e-05/0.5022, allocations: 12.91 kB / 0.9547 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.5022, allocations: 5.344 kB / 0.9547 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.992e-05/0.5023, allocations: 12.3 kB / 0.9547 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.5023, allocations: 2.25 kB / 0.9547 GB, free: 4.91 MB / 0.7169 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 5.387e-05/0.5024, allocations: 119.3 kB / 0.9548 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.5024, allocations: 10.44 kB / 0.9549 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.83e-05/0.5024, allocations: 9.844 kB / 0.9549 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5024, allocations: 5.359 kB / 0.9549 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.5024, allocations: 0 / 0.9549 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.5024, allocations: 9.422 kB / 0.9549 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.5028, allocations: 385.6 kB / 0.9552 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5028, allocations: 1.25 kB / 0.9552 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.5028, allocations: 2.75 kB / 0.9552 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.5028, allocations: 1.625 kB / 0.9553 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.5028, allocations: 0 / 0.9553 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5028, allocations: 9.297 kB / 0.9553 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5028, allocations: 0 / 0.9553 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.5031, allocations: 214.2 kB / 0.9555 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.5031, allocations: 86.11 kB / 0.9555 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.5031, allocations: 1.344 kB / 0.9555 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-05/0.5032, allocations: 10.48 kB / 0.9556 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.5032, allocations: 3.469 kB / 0.9556 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.5032, allocations: 10.36 kB / 0.9556 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.988e-05/0.5033, allocations: 100.5 kB / 0.9557 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5033, allocations: 0 / 0.9557 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002553/0.5035, allocations: 36.62 kB / 0.9557 GB, free: 3.988 MB / 0.7169 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.0004953/0.504, allocations: 0.8057 MB / 0.9565 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001931/0.5042, allocations: 69.56 kB / 0.9566 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5043, allocations: 0 / 0.9566 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.5043, allocations: 36.75 kB / 0.9566 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.5046, allocations: 14.84 kB / 0.9566 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.5057, allocations: 1.492 MB / 0.9581 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.544e-05/0.5058, allocations: 0.6843 MB / 0.9587 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.094e-05/0.5058, allocations: 7.203 kB / 0.9587 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.487e-05/0.5058, allocations: 19.91 kB / 0.9588 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5058, allocations: 0 / 0.9588 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.452/1.958, allocations: 2.613 MB / 0.9613 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/9.612, allocations: 15.97 kB / 0.9613 GB, free: 15.72 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed