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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001041/0.001041, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001284/0.001284, allocations: 197.2 kB / 16.14 MB, free: 6.719 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.212/2.212, allocations: 390.2 MB / 0.6643 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 67.89 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7215/0.7231, allocations: 140.4 MB / 0.949 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002444/0.7256, allocations: 1.538 MB / 0.9505 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.7267, allocations: 0.728 MB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.507e-05/0.7267, allocations: 5.312 kB / 0.9513 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.7268, allocations: 3.938 kB / 0.9513 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.672e-05/0.7268, allocations: 9.297 kB / 0.9513 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000451/0.7273, allocations: 112.6 kB / 0.9514 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.955e-05/0.7274, allocations: 67.41 kB / 0.9514 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.604e-05/0.7275, allocations: 25.44 kB / 0.9515 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.192e-05/0.7276, allocations: 29.67 kB / 0.9515 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.046e-05/0.7276, allocations: 40.2 kB / 0.9515 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.7277, allocations: 2.75 kB / 0.9515 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.7278, allocations: 86.89 kB / 0.9516 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.7279, allocations: 18.75 kB / 0.9516 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.7279, allocations: 33.05 kB / 0.9517 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.7281, allocations: 134.2 kB / 0.9518 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7282, allocations: 5.547 kB / 0.9518 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7282, allocations: 0 / 0.9518 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.7282, allocations: 0 / 0.9518 GB, free: 6.973 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.0005627/0.7287, allocations: 419.4 kB / 0.9522 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.7288, allocations: 10.22 kB / 0.9522 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.7288, allocations: 32.12 kB / 0.9522 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.7289, allocations: 12.67 kB / 0.9523 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.106e-05/0.729, allocations: 173 kB / 0.9524 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.729, allocations: 9.25 kB / 0.9524 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.729, allocations: 4.688 kB / 0.9524 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.7292, allocations: 72.22 kB / 0.9525 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.7292, allocations: 3.938 kB / 0.9525 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.7292, allocations: 0 / 0.9525 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.7292, allocations: 1.031 kB / 0.9525 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.7294, allocations: 41.53 kB / 0.9525 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005254/0.7299, allocations: 321.1 kB / 0.9529 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.73, allocations: 52.52 kB / 0.9529 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.863e-05/0.7301, allocations: 32 kB / 0.9529 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.7301, allocations: 5.375 kB / 0.9529 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.7303, allocations: 72.47 kB / 0.953 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.7303, allocations: 1.219 kB / 0.953 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003931/0.7307, allocations: 144.5 kB / 0.9531 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.7308, allocations: 52.88 kB / 0.9532 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.906e-05/0.7308, allocations: 124.3 kB / 0.9533 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.7309, allocations: 30.89 kB / 0.9533 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.7309, allocations: 87.27 kB / 0.9534 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.7309, allocations: 17.86 kB / 0.9534 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.731, allocations: 22.38 kB / 0.9535 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.857e-05/0.731, allocations: 325.6 kB / 0.9538 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.553e-05/0.7311, allocations: 26.08 kB / 0.9538 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.053e-05/0.7312, allocations: 52.48 kB / 0.9538 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.7314, allocations: 69.12 kB / 0.9539 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.7314, allocations: 5.516 kB / 0.9539 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002101/0.7316, allocations: 116.9 kB / 0.954 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.7316, allocations: 8.906 kB / 0.954 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.7316, allocations: 1.469 kB / 0.954 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.7316, allocations: 5.359 kB / 0.954 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.3e-05/0.7317, allocations: 7.719 kB / 0.9541 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.7317, allocations: 1.312 kB / 0.9541 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.468e-05/0.7318, allocations: 16.67 kB / 0.9541 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.7318, allocations: 2.469 kB / 0.9541 GB, free: 4.789 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 7.239e-05/0.7319, allocations: 130.8 kB / 0.9542 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.7319, allocations: 7.5 kB / 0.9542 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.732, allocations: 5.938 kB / 0.9542 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.732, allocations: 3.984 kB / 0.9542 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.732, allocations: 1.438 kB / 0.9542 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.732, allocations: 0 / 0.9542 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.7324, allocations: 387.3 kB / 0.9546 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7324, allocations: 0 / 0.9546 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.7324, allocations: 6.875 kB / 0.9546 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.7324, allocations: 1.406 kB / 0.9546 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.7324, allocations: 4.594 kB / 0.9546 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.7324, allocations: 4.969 kB / 0.9546 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7324, allocations: 7.922 kB / 0.9546 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.7327, allocations: 202 kB / 0.9548 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.7327, allocations: 82.61 kB / 0.9549 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.7327, allocations: 1.125 kB / 0.9549 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-05/0.7328, allocations: 14.89 kB / 0.9549 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.7329, allocations: 7.766 kB / 0.9549 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.7329, allocations: 8.859 kB / 0.9549 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.326e-05/0.733, allocations: 97.55 kB / 0.955 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.733, allocations: 0 / 0.955 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002908/0.7333, allocations: 40.09 kB / 0.955 GB, free: 3.867 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.000659/0.7339, allocations: 0.7935 MB / 0.9558 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.7342, allocations: 77.27 kB / 0.9559 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.7342, allocations: 5.281 kB / 0.9559 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.105e-05/0.7343, allocations: 36.25 kB / 0.9559 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.7345, allocations: 15.12 kB / 0.9559 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.7359, allocations: 1.497 MB / 0.9574 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.736, allocations: 0.6837 MB / 0.9581 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.845e-05/0.736, allocations: 7.484 kB / 0.9581 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/0.7361, allocations: 22.41 kB / 0.9581 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/0.7361, allocations: 1.188 kB / 0.9581 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.319/2.055, allocations: 2.433 MB / 0.9605 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000244/2.055, allocations: 260.7 kB / 0.9607 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/4.008, allocations: 0 / 0.9607 GB, free: 15.41 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