Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_10_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.00788/0.00788, allocations: 104.1 kB / 15.73 MB, free: 6.051 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.00156/0.00156, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.423/2.423, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.88 kB / 1.018 GB, free: 9.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8237/0.8251, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002747/0.8279, allocations: 1.466 MB / 1.168 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.8293, allocations: 0.7284 MB / 1.168 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.961e-05/0.8293, allocations: 0 / 1.168 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.8294, allocations: 7.922 kB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.995e-05/0.8295, allocations: 11.86 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006623/0.8301, allocations: 131.6 kB / 1.168 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.8303, allocations: 75.72 kB / 1.168 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.8304, allocations: 11.98 kB / 1.168 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.8305, allocations: 35.91 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.628e-05/0.8306, allocations: 39.83 kB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.8306, allocations: 4 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.8308, allocations: 103.8 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/0.8309, allocations: 11.98 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.8309, allocations: 39.78 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.8312, allocations: 141.9 kB / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.8312, allocations: 0 / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8312, allocations: 0 / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.8312, allocations: 0 / 1.169 GB, free: 0.9648 MB / 0.8887 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.0007027/0.832, allocations: 420.9 kB / 1.169 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.832, allocations: 12.92 kB / 1.169 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.832, allocations: 30.75 kB / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.8321, allocations: 12.84 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.8322, allocations: 172.2 kB / 1.169 GB, free: 236 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.8323, allocations: 4.375 kB / 1.169 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.8323, allocations: 8.359 kB / 1.169 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.8325, allocations: 69.78 kB / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.8325, allocations: 0 / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.8325, allocations: 4 kB / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.8325, allocations: 0 / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.8327, allocations: 39.97 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00066/0.8333, allocations: 324.6 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.8335, allocations: 50.5 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.36e-05/0.8336, allocations: 32.97 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.8336, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.8338, allocations: 83.28 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.8338, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.000423/0.8343, allocations: 141.5 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.8343, allocations: 59.47 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.417e-05/0.8344, allocations: 121.8 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.8345, allocations: 33.7 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.8345, allocations: 92.12 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.8346, allocations: 11.81 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.8346, allocations: 25.7 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.8347, allocations: 326.8 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.252e-05/0.8348, allocations: 27.98 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.675e-05/0.8349, allocations: 43 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.8351, allocations: 78.48 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8351, allocations: 0 / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002415/0.8354, allocations: 113.5 kB / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.8354, allocations: 4 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.8354, allocations: 4.062 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.8354, allocations: 4 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.8355, allocations: 15.92 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.8355, allocations: 3.938 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.885e-05/0.8356, allocations: 7.938 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.8356, allocations: 4 kB / 1.171 GB, free: 14.38 MB / 0.9044 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.754e-05/0.8357, allocations: 126.8 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.8358, allocations: 11.89 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.8358, allocations: 8.375 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.8358, allocations: 4 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.8358, allocations: 0 / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.8358, allocations: 3.984 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.8363, allocations: 382.4 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.8363, allocations: 0 / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.8363, allocations: 4 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.8364, allocations: 3.984 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.8364, allocations: 4 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.8364, allocations: 3.938 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.8364, allocations: 4 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.8367, allocations: 207.4 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.8367, allocations: 92.94 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.8368, allocations: 0 / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.977e-05/0.8369, allocations: 7.938 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.8369, allocations: 7.984 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.8369, allocations: 8 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.954e-05/0.837, allocations: 99.42 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.837, allocations: 0 / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003129/0.8373, allocations: 39.94 kB / 1.172 GB, free: 13.28 MB / 0.9044 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.0008406/0.8382, allocations: 0.8049 MB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.8384, allocations: 75.89 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8384, allocations: 0 / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.8386, allocations: 36.05 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.8388, allocations: 11.94 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.8407, allocations: 1.488 MB / 1.174 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.841, allocations: 0.694 MB / 1.175 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.166e-05/0.841, allocations: 7.984 kB / 1.175 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.031e-05/0.8411, allocations: 23.38 kB / 1.175 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of SimCode: time 4.31e-07/0.8411, allocations: 0 / 1.175 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.8618, allocations: 2.658 MB / 1.178 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.644/8.505, allocations: 17.52 kB / 1.178 GB, free: 7.48 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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