Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Yun2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_latest_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.003963/0.003963, allocations: 97.34 kB / 15.73 MB, free: 6.055 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.001165/0.001165, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.666/2.666, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 71.89 kB / 1.083 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2746, allocations: 162.3 MB / 1.242 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002429/0.2771, allocations: 1.517 MB / 1.243 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.2783, allocations: 0.7556 MB / 1.244 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.324e-05/0.2783, allocations: 0 / 1.244 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.792e-05/0.2783, allocations: 3.938 kB / 1.244 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.498e-05/0.2784, allocations: 23.8 kB / 1.244 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.2789, allocations: 131.6 kB / 1.244 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.2791, allocations: 103.7 kB / 1.244 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.808e-05/0.2791, allocations: 15.97 kB / 1.244 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.342e-05/0.2792, allocations: 39.91 kB / 1.244 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.073e-05/0.2793, allocations: 55.8 kB / 1.244 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.2793, allocations: 12 kB / 1.244 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.2795, allocations: 103.8 kB / 1.245 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.428e-05/0.2796, allocations: 27.91 kB / 1.245 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.2796, allocations: 39.78 kB / 1.245 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.2799, allocations: 163.5 kB / 1.245 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2799, allocations: 0 / 1.245 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2799, allocations: 0 / 1.245 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.2799, allocations: 4 kB / 1.245 GB, free: 6.891 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.0006268/0.2805, allocations: 454.4 kB / 1.245 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.2806, allocations: 12.03 kB / 1.245 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.37e-05/0.2806, allocations: 38.73 kB / 1.245 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.2807, allocations: 12.89 kB / 1.245 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.2808, allocations: 180.2 kB / 1.245 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.2808, allocations: 384 / 1.245 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.2809, allocations: 12.31 kB / 1.245 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.2811, allocations: 89.75 kB / 1.246 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2811, allocations: 3.938 kB / 1.246 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2811, allocations: 0 / 1.246 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.2811, allocations: 4 kB / 1.246 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.2813, allocations: 51.89 kB / 1.246 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006847/0.282, allocations: 340.6 kB / 1.246 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.2822, allocations: 66.55 kB / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.2823, allocations: 44.83 kB / 1.246 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.2823, allocations: 0 / 1.246 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.2825, allocations: 91.55 kB / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.2825, allocations: 0 / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005109/0.2831, allocations: 185.5 kB / 1.246 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.2831, allocations: 63.39 kB / 1.246 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.2832, allocations: 121.8 kB / 1.246 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.2832, allocations: 37.69 kB / 1.246 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.2833, allocations: 88.09 kB / 1.247 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.2833, allocations: 15.91 kB / 1.247 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/0.2834, allocations: 33.7 kB / 1.247 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.2835, allocations: 326.8 kB / 1.247 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.364e-05/0.2836, allocations: 31.92 kB / 1.247 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.2837, allocations: 67.52 kB / 1.247 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.2839, allocations: 100.2 kB / 1.247 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2839, allocations: 0 / 1.247 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002612/0.2842, allocations: 129.5 kB / 1.247 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2842, allocations: 8.938 kB / 1.247 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2842, allocations: 0 / 1.247 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.2842, allocations: 96 / 1.247 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.967e-05/0.2844, allocations: 23.98 kB / 1.247 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2844, allocations: 0 / 1.247 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.448e-05/0.2844, allocations: 19.88 kB / 1.247 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.2845, allocations: 4 kB / 1.247 GB, free: 4.016 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.714e-05/0.2846, allocations: 125.7 kB / 1.247 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.2846, allocations: 7.953 kB / 1.247 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.2846, allocations: 8.359 kB / 1.247 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2846, allocations: 8 kB / 1.247 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.2846, allocations: 3.938 kB / 1.247 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2846, allocations: 0 / 1.247 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005629/0.2852, allocations: 426.4 kB / 1.248 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2852, allocations: 0 / 1.248 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.623e-05/0.2853, allocations: 4 kB / 1.248 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2853, allocations: 0 / 1.248 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.2853, allocations: 7.984 kB / 1.248 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2853, allocations: 12 kB / 1.248 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2853, allocations: 4.328 kB / 1.248 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.2857, allocations: 247.4 kB / 1.248 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.2857, allocations: 85.06 kB / 1.248 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.2858, allocations: 3.984 kB / 1.248 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.2859, allocations: 4 kB / 1.248 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.2859, allocations: 19.92 kB / 1.248 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.2859, allocations: 0 / 1.248 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.984e-05/0.286, allocations: 95.27 kB / 1.248 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.874e-06/0.286, allocations: 0 / 1.248 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002778/0.2863, allocations: 51.8 kB / 1.248 GB, free: 2.824 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.0008704/0.2872, allocations: 0.8311 MB / 1.249 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.2874, allocations: 87.89 kB / 1.249 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2875, allocations: 4.188 kB / 1.249 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.2876, allocations: 47.91 kB / 1.249 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.2878, allocations: 15.92 kB / 1.249 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.2895, allocations: 1.588 MB / 1.251 GB, free: 140 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4799/0.7694, allocations: 0.6883 MB / 1.252 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.351e-05/0.7695, allocations: 6.719 kB / 1.252 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.7696, allocations: 23.95 kB / 1.252 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/0.7696, allocations: 0 / 1.252 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.665/2.435, allocations: 2.996 MB / 1.254 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/15.4, allocations: 4.062 kB / 1.254 GB, free: 13.83 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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