Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Yun2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.006074/0.006074, allocations: 101 kB / 15.73 MB, free: 6.445 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.00162/0.00162, allocations: 191.6 kB / 16.67 MB, free: 6.348 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.696/2.696, allocations: 482.6 MB / 0.755 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 67.89 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2768, allocations: 162.3 MB / 1.242 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002393/0.2792, allocations: 1.508 MB / 1.243 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.2804, allocations: 0.7595 MB / 1.244 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.2805, allocations: 0 / 1.244 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.2805, allocations: 7.922 kB / 1.244 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.123e-05/0.2806, allocations: 19.8 kB / 1.244 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005069/0.2811, allocations: 131.6 kB / 1.244 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.2812, allocations: 107.7 kB / 1.244 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.959e-05/0.2813, allocations: 15.98 kB / 1.244 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.033e-05/0.2814, allocations: 47.84 kB / 1.244 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.347e-05/0.2815, allocations: 55.8 kB / 1.244 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.2815, allocations: 8 kB / 1.244 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.2817, allocations: 99.84 kB / 1.245 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.2817, allocations: 19.97 kB / 1.245 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.329e-05/0.2818, allocations: 47.78 kB / 1.245 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.282, allocations: 167.5 kB / 1.245 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2821, allocations: 0 / 1.245 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2821, allocations: 0 / 1.245 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2821, allocations: 0 / 1.245 GB, free: 6.879 MB / 0.9981 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.0006308/0.2827, allocations: 462.3 kB / 1.245 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.2827, allocations: 8.031 kB / 1.245 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.2828, allocations: 38.73 kB / 1.245 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.2828, allocations: 8.891 kB / 1.245 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.283, allocations: 184.2 kB / 1.245 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.283, allocations: 4.375 kB / 1.245 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.283, allocations: 4.375 kB / 1.245 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.2833, allocations: 93.69 kB / 1.246 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.2833, allocations: 0 / 1.246 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.2833, allocations: 7.984 kB / 1.246 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2833, allocations: 4 kB / 1.246 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.2835, allocations: 47.91 kB / 1.246 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007044/0.2842, allocations: 348.6 kB / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.2844, allocations: 62.55 kB / 1.246 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.2845, allocations: 48.83 kB / 1.246 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.2846, allocations: 160 / 1.246 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.2848, allocations: 95.38 kB / 1.246 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.2848, allocations: 0 / 1.246 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005476/0.2853, allocations: 189.5 kB / 1.246 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.2854, allocations: 59.41 kB / 1.246 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.2855, allocations: 129.5 kB / 1.246 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.2855, allocations: 29.7 kB / 1.246 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.2856, allocations: 96.08 kB / 1.247 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.2856, allocations: 19.89 kB / 1.247 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.2857, allocations: 29.7 kB / 1.247 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2858, allocations: 326.8 kB / 1.247 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.509e-05/0.2859, allocations: 35.92 kB / 1.247 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.286, allocations: 64.27 kB / 1.247 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.2862, allocations: 96.2 kB / 1.247 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2862, allocations: 0 / 1.247 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002552/0.2865, allocations: 133.5 kB / 1.247 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2865, allocations: 4 kB / 1.247 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2865, allocations: 7.938 kB / 1.247 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.2865, allocations: 0 / 1.247 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.2866, allocations: 15.98 kB / 1.247 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2867, allocations: 4.094 kB / 1.247 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.2867, allocations: 15.89 kB / 1.247 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.2868, allocations: 7.984 kB / 1.247 GB, free: 3.98 MB / 0.9981 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 9.333e-05/0.2868, allocations: 126.6 kB / 1.247 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.2869, allocations: 7.953 kB / 1.247 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.099e-05/0.2869, allocations: 8.375 kB / 1.247 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.2869, allocations: 0 / 1.247 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.2869, allocations: 0 / 1.247 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2869, allocations: 11.98 kB / 1.247 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005851/0.2875, allocations: 422.4 kB / 1.248 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2875, allocations: 0 / 1.248 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/0.2876, allocations: 8.047 kB / 1.248 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2876, allocations: 7.938 kB / 1.248 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.2876, allocations: 4 kB / 1.248 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2876, allocations: 0 / 1.248 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.2876, allocations: 7.938 kB / 1.248 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/0.288, allocations: 251.4 kB / 1.248 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.2881, allocations: 81.06 kB / 1.248 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.2881, allocations: 4 kB / 1.248 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.2882, allocations: 7.984 kB / 1.248 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.2883, allocations: 3.938 kB / 1.248 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.2883, allocations: 15.98 kB / 1.248 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.134e-05/0.2884, allocations: 95.27 kB / 1.248 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.843e-06/0.2884, allocations: 0 / 1.248 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002756/0.2886, allocations: 43.81 kB / 1.248 GB, free: 2.797 MB / 0.9981 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.0009186/0.2896, allocations: 0.8445 MB / 1.249 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002807/0.2899, allocations: 87.89 kB / 1.249 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2899, allocations: 0 / 1.249 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.29, allocations: 60.08 kB / 1.249 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.2903, allocations: 19.86 kB / 1.249 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.292, allocations: 1.581 MB / 1.251 GB, free: 92 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.489/0.781, allocations: 0.6853 MB / 1.252 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.5e-05/0.7811, allocations: 6.812 kB / 1.252 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.7811, allocations: 19.02 kB / 1.252 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of SimCode: time 7.52e-07/0.7811, allocations: 1.812 kB / 1.252 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.558/2.339, allocations: 3.008 MB / 1.255 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/13.98, allocations: 3.406 kB / 1.255 GB, free: 13.79 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pClose,win.pOpen,win.samplePeriod,win.seed