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.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.Nicol2001WindowsEU,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",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.001038/0.001038, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.0081/0.0081, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.234/1.234, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.1/2.1, allocations: 390.9 MB / 0.6664 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002915, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5218/0.5221, allocations: 142.4 MB / 0.9552 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.001279/0.5234, allocations: 1.192 MB / 0.9563 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.5244, allocations: 0.7095 MB / 0.957 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.5245, allocations: 1.219 kB / 0.957 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.5245, allocations: 7.922 kB / 0.957 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.262e-05/0.5246, allocations: 18.2 kB / 0.9571 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.525, allocations: 108.2 kB / 0.9572 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.066e-05/0.5251, allocations: 70.78 kB / 0.9572 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.084e-05/0.5252, allocations: 13.62 kB / 0.9572 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.908e-05/0.5253, allocations: 32.66 kB / 0.9573 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.981e-05/0.5254, allocations: 35.62 kB / 0.9573 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.5254, allocations: 7.469 kB / 0.9573 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.5256, allocations: 89.25 kB / 0.9574 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.5256, allocations: 11.39 kB / 0.9574 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.5257, allocations: 57.95 kB / 0.9575 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.5259, allocations: 136 kB / 0.9576 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5259, allocations: 0 / 0.9576 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5259, allocations: 0 / 0.9576 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.5259, allocations: 0 / 0.9576 GB, free: 5.789 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.0004443/0.5263, allocations: 414.2 kB / 0.958 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.5264, allocations: 13.12 kB / 0.958 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.5264, allocations: 35.81 kB / 0.958 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.5265, allocations: 12.89 kB / 0.958 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.497e-05/0.5265, allocations: 167.4 kB / 0.9582 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.5265, allocations: 3.906 kB / 0.9582 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.5266, allocations: 3.875 kB / 0.9582 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.5267, allocations: 74.06 kB / 0.9583 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.5267, allocations: 9.312 kB / 0.9583 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.5268, allocations: 0 / 0.9583 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.5268, allocations: 1.312 kB / 0.9583 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.5269, allocations: 45.72 kB / 0.9583 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.5274, allocations: 326.3 kB / 0.9586 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.5275, allocations: 51.45 kB / 0.9587 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.322e-05/0.5276, allocations: 34.91 kB / 0.9587 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.5276, allocations: 0 / 0.9587 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.5278, allocations: 88.19 kB / 0.9588 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.5278, allocations: 0 / 0.9588 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003423/0.5281, allocations: 146.4 kB / 0.9589 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.5281, allocations: 61.31 kB / 0.959 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.394e-05/0.5282, allocations: 124.2 kB / 0.9591 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.5282, allocations: 27.48 kB / 0.9592 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.8e-05/0.5283, allocations: 85.92 kB / 0.9592 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.5283, allocations: 23.33 kB / 0.9593 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.5283, allocations: 17.31 kB / 0.9593 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.631e-05/0.5284, allocations: 324.5 kB / 0.9596 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.111e-05/0.5284, allocations: 29.92 kB / 0.9596 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.787e-05/0.5285, allocations: 57.88 kB / 0.9597 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.5287, allocations: 83.38 kB / 0.9597 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5287, allocations: 1.375 kB / 0.9597 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002103/0.5289, allocations: 113.8 kB / 0.9599 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.5289, allocations: 6.594 kB / 0.9599 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.5289, allocations: 1.375 kB / 0.9599 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.5289, allocations: 5.438 kB / 0.9599 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.714e-05/0.529, allocations: 17.55 kB / 0.9599 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.529, allocations: 1.375 kB / 0.9599 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.5291, allocations: 13.44 kB / 0.9599 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.5291, allocations: 2.75 kB / 0.9599 GB, free: 3.605 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 6.863e-05/0.5292, allocations: 125.9 kB / 0.96 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.5292, allocations: 8.031 kB / 0.96 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.5293, allocations: 13.75 kB / 0.96 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.5293, allocations: 1.375 kB / 0.96 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5293, allocations: 0 / 0.96 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.5293, allocations: 0 / 0.96 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.5296, allocations: 388.4 kB / 0.9604 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5297, allocations: 0 / 0.9604 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.594e-05/0.5297, allocations: 13.48 kB / 0.9604 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.5297, allocations: 0 / 0.9604 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.5297, allocations: 1.375 kB / 0.9604 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5297, allocations: 3.938 kB / 0.9604 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5297, allocations: 1.375 kB / 0.9604 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.53, allocations: 222.3 kB / 0.9606 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.53, allocations: 87.7 kB / 0.9607 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.53, allocations: 4 kB / 0.9607 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-05/0.5301, allocations: 9.438 kB / 0.9607 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.5302, allocations: 6.734 kB / 0.9607 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.5302, allocations: 1.375 kB / 0.9608 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.634e-05/0.5302, allocations: 97.48 kB / 0.9608 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5302, allocations: 0 / 0.9608 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002887/0.5305, allocations: 44.8 kB / 0.9609 GB, free: 2.684 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.0006602/0.5312, allocations: 0.8026 MB / 0.9617 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.5314, allocations: 79.34 kB / 0.9617 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5314, allocations: 1.125 kB / 0.9617 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.574e-05/0.5315, allocations: 38.89 kB / 0.9618 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.5318, allocations: 18.92 kB / 0.9618 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.5331, allocations: 1.522 MB / 0.9633 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.5333, allocations: 0.6878 MB / 0.964 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.668e-05/0.5334, allocations: 8.125 kB / 0.964 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.5334, allocations: 22.17 kB / 0.964 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/0.5334, allocations: 0 / 0.964 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.194/1.728, allocations: 2.328 MB / 0.9663 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003531/1.728, allocations: 273.4 kB / 0.9665 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/3.626, allocations: 0 / 0.9665 GB, free: 14.33 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > 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) "" 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