Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_11_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.001445/0.001445, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 196.1 kB / 16.53 MB, free: 6.391 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.594/2.594, allocations: 469.8 MB / 0.7424 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 74.97 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2432, allocations: 159.1 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002518/0.2458, allocations: 1.507 MB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.247, allocations: 0.7614 MB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.256e-05/0.247, allocations: 3.938 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.837e-05/0.2471, allocations: 3.938 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.541e-05/0.2471, allocations: 15.86 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004824/0.2476, allocations: 139.6 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.2477, allocations: 99.75 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.841e-05/0.2478, allocations: 8 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.695e-05/0.2479, allocations: 51.83 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.555e-05/0.248, allocations: 55.8 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.248, allocations: 11.94 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.2482, allocations: 99.84 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.038e-05/0.2483, allocations: 23.97 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.41e-05/0.2483, allocations: 47.78 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.2485, allocations: 167.8 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2486, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2486, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.2486, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 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.0006209/0.2492, allocations: 462.5 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.2492, allocations: 8.031 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.357e-05/0.2493, allocations: 38.73 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.2493, allocations: 8.938 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.2495, allocations: 172.9 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.2495, allocations: 8.375 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.2495, allocations: 8.359 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.2498, allocations: 101.6 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2498, allocations: 0 / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.2498, allocations: 0 / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2498, allocations: 4 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.25, allocations: 47.97 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007226/0.2507, allocations: 344.6 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.2509, allocations: 70.58 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.251, allocations: 44.83 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.251, allocations: 0 / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002193/0.2513, allocations: 91.36 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.2513, allocations: 0 / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005442/0.2518, allocations: 197.6 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.2519, allocations: 51.41 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.816e-05/0.252, allocations: 130.8 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.252, allocations: 25.7 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.2521, allocations: 100 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.2521, allocations: 15.81 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/0.2522, allocations: 29.7 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2523, allocations: 330.8 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.06e-05/0.2524, allocations: 23.98 kB / 1.069 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.2525, allocations: 65.14 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.2527, allocations: 100.1 kB / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2527, allocations: 0 / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002578/0.253, allocations: 129.4 kB / 1.069 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.253, allocations: 4 kB / 1.069 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.253, allocations: 320 / 1.069 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.253, allocations: 8.094 kB / 1.069 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.995e-05/0.2531, allocations: 15.98 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.2531, allocations: 3.938 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.751e-05/0.2532, allocations: 15.92 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.2532, allocations: 7.984 kB / 1.07 GB, free: 8.301 MB / 0.8262 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.546e-05/0.2533, allocations: 123.7 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.2534, allocations: 7.906 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.2534, allocations: 8.375 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2534, allocations: 4 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2534, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2534, allocations: 7.922 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.254, allocations: 438.3 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.254, allocations: 0 / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.055e-05/0.2541, allocations: 12.05 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2541, allocations: 0 / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.2541, allocations: 4 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2541, allocations: 0 / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2541, allocations: 3.938 kB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.2545, allocations: 251.3 kB / 1.07 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.2546, allocations: 81.05 kB / 1.07 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.2546, allocations: 4 kB / 1.07 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.2547, allocations: 11.98 kB / 1.07 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.2548, allocations: 11.92 kB / 1.07 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.2548, allocations: 7.984 kB / 1.07 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.815e-05/0.2548, allocations: 102.3 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2548, allocations: 0 / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002725/0.2551, allocations: 36 kB / 1.071 GB, free: 7.113 MB / 0.8262 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.0008879/0.256, allocations: 0.8395 MB / 1.071 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002807/0.2563, allocations: 91.95 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2563, allocations: 4 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.2565, allocations: 47.97 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.2567, allocations: 15.92 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.2585, allocations: 1.572 MB / 1.073 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.2588, allocations: 0.696 MB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.504e-05/0.2589, allocations: 4 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.2589, allocations: 27.42 kB / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2589, allocations: 0 / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.157/1.416, allocations: 2.958 MB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.91/18.32, allocations: 23.09 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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