Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.007461/0.007461, allocations: 103.6 kB / 15.74 MB, free: 6.047 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.001779/0.001779, allocations: 188.4 kB / 16.67 MB, free: 5.969 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.342/2.342, allocations: 437.1 MB / 0.7106 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001648, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2302, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002352/0.2326, allocations: 1.517 MB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.2337, allocations: 0.7518 MB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.2338, allocations: 0 / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.729e-05/0.2338, allocations: 3.938 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.818e-05/0.2339, allocations: 27.78 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.2343, allocations: 135.6 kB / 1.169 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.2345, allocations: 99.69 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.116e-05/0.2345, allocations: 15.98 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.709e-05/0.2346, allocations: 43.91 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.642e-05/0.2347, allocations: 51.81 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.2347, allocations: 12 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.2349, allocations: 95.84 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.296e-05/0.235, allocations: 31.89 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.235, allocations: 31.86 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.2352, allocations: 171.7 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.2352, allocations: 0 / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2352, allocations: 4 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.2352, allocations: 0 / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005769/0.2358, allocations: 466.3 kB / 1.17 GB, free: 3.785 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.2359, allocations: 12.02 kB / 1.17 GB, free: 3.773 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.538e-05/0.2359, allocations: 34.75 kB / 1.17 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.2359, allocations: 8.891 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.236, allocations: 180.1 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.2361, allocations: 8.359 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.2361, allocations: 8.375 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.2363, allocations: 89.7 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.2363, allocations: 0 / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.2363, allocations: 7.984 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.2364, allocations: 0 / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.2365, allocations: 47.91 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006403/0.2372, allocations: 344.7 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.2373, allocations: 54.56 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.2374, allocations: 44.83 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.2375, allocations: 7.984 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.2377, allocations: 95.53 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.2377, allocations: 0 / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0004647/0.2381, allocations: 185.5 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.2382, allocations: 55.41 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.447e-05/0.2383, allocations: 121.8 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.2383, allocations: 33.7 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.2384, allocations: 92.09 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.2384, allocations: 23.77 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.2385, allocations: 33.72 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2386, allocations: 326.7 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.91e-05/0.2387, allocations: 31.97 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.695e-05/0.2388, allocations: 60.28 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.2389, allocations: 96.2 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.239, allocations: 0 / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002403/0.2392, allocations: 129.5 kB / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2392, allocations: 11.98 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2392, allocations: 4.094 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2392, allocations: 4.062 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.339e-05/0.2393, allocations: 15.98 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2394, allocations: 4.312 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.2394, allocations: 7.953 kB / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.2394, allocations: 4 kB / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.822e-05/0.2395, allocations: 125.7 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.2396, allocations: 11.94 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.2396, allocations: 16.38 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2396, allocations: 0 / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2396, allocations: 0 / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2396, allocations: 0 / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005443/0.2402, allocations: 430.3 kB / 1.172 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2402, allocations: 3.938 kB / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.755e-05/0.2402, allocations: 7.984 kB / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2402, allocations: 0 / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.2402, allocations: 4 kB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2402, allocations: 0 / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2402, allocations: 7.938 kB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.2406, allocations: 243.4 kB / 1.172 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.2407, allocations: 92.98 kB / 1.173 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.2407, allocations: 0 / 1.173 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.631e-05/0.2408, allocations: 12 kB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.2408, allocations: 11.92 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.2408, allocations: 0 / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.208e-05/0.2409, allocations: 95.27 kB / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.593e-06/0.2409, allocations: 3.938 kB / 1.173 GB, free: 296 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002635/0.2412, allocations: 47.86 kB / 1.173 GB, free: 248 kB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008428/0.242, allocations: 0.8302 MB / 1.173 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002554/0.2423, allocations: 92.02 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2423, allocations: 0 / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.2424, allocations: 55.89 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.2427, allocations: 19.98 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.2443, allocations: 1.576 MB / 1.175 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.2446, allocations: 0.6885 MB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.2447, allocations: 15.84 kB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.2447, allocations: 23.42 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.2447, allocations: 0 / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.698/3.943, allocations: 2.986 MB / 1.179 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/19.55, allocations: 15.62 kB / 1.179 GB, free: 9.938 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,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.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pClose,win.pOpen,win.samplePeriod,win.seed