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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001615/0.001615, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002173/0.002173, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.576/2.576, allocations: 461.9 MB / 0.7342 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 70.41 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2854, allocations: 157.4 MB / 1.052 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002507/0.2879, allocations: 1.574 MB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.2892, allocations: 0.7673 MB / 1.054 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.2893, allocations: 8 kB / 1.054 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.2893, allocations: 3.938 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.39e-05/0.2894, allocations: 7.922 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.2899, allocations: 115.8 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.29, allocations: 99.69 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.132e-05/0.2901, allocations: 15.98 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.2902, allocations: 39.91 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.2903, allocations: 59.73 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.2904, allocations: 4 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.2905, allocations: 91.91 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.2906, allocations: 15.92 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.296e-05/0.2906, allocations: 43.83 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.2909, allocations: 151.8 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2909, allocations: 3.938 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.32e-07/0.2909, allocations: 0 / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.2909, allocations: 4 kB / 1.055 GB, free: 5.172 MB / 0.8106 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.0005967/0.2915, allocations: 462.6 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2915, allocations: 11.97 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.2916, allocations: 38.73 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.2916, allocations: 12.84 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.222e-05/0.2917, allocations: 172.3 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.2917, allocations: 384 / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.2918, allocations: 4.375 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.292, allocations: 101.7 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.292, allocations: 0 / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.2921, allocations: 3.984 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2921, allocations: 0 / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.2922, allocations: 47.97 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007029/0.293, allocations: 344.6 kB / 1.056 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.2931, allocations: 66.58 kB / 1.056 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.2933, allocations: 44.83 kB / 1.056 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.2933, allocations: 4 kB / 1.056 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.2935, allocations: 91.36 kB / 1.056 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.2935, allocations: 0 / 1.056 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005358/0.2941, allocations: 197.6 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.2941, allocations: 59.34 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.664e-05/0.2942, allocations: 132.6 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.2943, allocations: 29.7 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.2943, allocations: 92.12 kB / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.2943, allocations: 15.72 kB / 1.057 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.2944, allocations: 33.7 kB / 1.057 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.2945, allocations: 322.8 kB / 1.057 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-05/0.2946, allocations: 27.98 kB / 1.057 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.617e-05/0.2947, allocations: 68.27 kB / 1.057 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.2948, allocations: 84.22 kB / 1.057 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2949, allocations: 8 kB / 1.057 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002468/0.2951, allocations: 133.4 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.2951, allocations: 8 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2951, allocations: 0 / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.2952, allocations: 4 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.2953, allocations: 19.92 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.2953, allocations: 7.938 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.486e-05/0.2954, allocations: 7.938 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.2954, allocations: 7.984 kB / 1.058 GB, free: 2.289 MB / 0.8106 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.622e-05/0.2955, allocations: 125.9 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.2955, allocations: 7.906 kB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.2955, allocations: 12.41 kB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2955, allocations: 0 / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2955, allocations: 0 / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2956, allocations: 0 / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005446/0.2961, allocations: 434.3 kB / 1.058 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.2961, allocations: 4 kB / 1.058 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.583e-05/0.2962, allocations: 0 / 1.058 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.2962, allocations: 4 kB / 1.058 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.2962, allocations: 7.984 kB / 1.058 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2962, allocations: 0 / 1.058 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2962, allocations: 3.938 kB / 1.058 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.2966, allocations: 251.3 kB / 1.058 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.2966, allocations: 92.94 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.2967, allocations: 0 / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.2968, allocations: 4 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.2968, allocations: 11.92 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.2968, allocations: 11.98 kB / 1.059 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.714e-05/0.2969, allocations: 96.39 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2969, allocations: 4 kB / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002865/0.2972, allocations: 40 kB / 1.059 GB, free: 1.102 MB / 0.8106 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.0008146/0.298, allocations: 0.8435 MB / 1.06 GB, free: 252 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002679/0.2983, allocations: 88.44 kB / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.2983, allocations: 0 / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.2985, allocations: 47.91 kB / 1.06 GB, free: 116 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.2987, allocations: 24.11 kB / 1.06 GB, free: 92 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.3003, allocations: 1.578 MB / 1.061 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.3005, allocations: 0.6887 MB / 1.062 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.893e-05/0.3005, allocations: 8 kB / 1.062 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.3006, allocations: 27.42 kB / 1.062 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3006, allocations: 0 / 1.062 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03661/0.3372, allocations: 2.776 MB / 1.065 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.3375, allocations: 259.6 kB / 1.065 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/2.017, allocations: 2.031 kB / 1.065 GB, free: 10.72 MB / 0.8262 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=50 --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