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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 109.1 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.737/2.737, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 67.89 kB / 1.104 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8155/0.8176, allocations: 168.7 MB / 1.269 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003239/0.8208, allocations: 1.526 MB / 1.27 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.8224, allocations: 0.7534 MB / 1.271 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.38e-05/0.8225, allocations: 3.938 kB / 1.271 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.158e-05/0.8226, allocations: 7.922 kB / 1.271 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.566e-05/0.8226, allocations: 15.86 kB / 1.271 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007066/0.8233, allocations: 135.6 kB / 1.271 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000176/0.8235, allocations: 107.7 kB / 1.271 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.788e-05/0.8236, allocations: 4 kB / 1.271 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.8237, allocations: 43.91 kB / 1.271 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.8238, allocations: 55.8 kB / 1.271 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.8238, allocations: 12 kB / 1.271 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.8241, allocations: 107.8 kB / 1.271 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/0.8241, allocations: 31.89 kB / 1.271 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.419e-05/0.8242, allocations: 35.8 kB / 1.271 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.8244, allocations: 165.5 kB / 1.272 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8245, allocations: 4 kB / 1.272 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8245, allocations: 0 / 1.272 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.8245, allocations: 3.938 kB / 1.272 GB, free: 2.156 MB / 0.9669 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.0007358/0.8252, allocations: 466.3 kB / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.8252, allocations: 12.02 kB / 1.272 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.115e-05/0.8253, allocations: 34.75 kB / 1.272 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.8253, allocations: 8.891 kB / 1.272 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.8255, allocations: 176.2 kB / 1.272 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.8255, allocations: 12.36 kB / 1.272 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.8255, allocations: 4.375 kB / 1.272 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.8258, allocations: 93.69 kB / 1.272 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.8258, allocations: 0 / 1.272 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.8258, allocations: 7.984 kB / 1.272 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.8258, allocations: 0 / 1.272 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.826, allocations: 47.97 kB / 1.272 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008096/0.8268, allocations: 340.6 kB / 1.273 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.8271, allocations: 70.56 kB / 1.273 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.8272, allocations: 36.83 kB / 1.273 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.8273, allocations: 8 kB / 1.273 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002689/0.8275, allocations: 91.34 kB / 1.273 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.8275, allocations: 4 kB / 1.273 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0005942/0.8281, allocations: 185.5 kB / 1.273 GB, free: 408 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.8282, allocations: 55.39 kB / 1.273 GB, free: 340 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.8284, allocations: 125.8 kB / 1.273 GB, free: 204 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.8284, allocations: 29.7 kB / 1.273 GB, free: 168 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.8284, allocations: 96.28 kB / 1.273 GB, free: 68 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.8285, allocations: 19.89 kB / 1.274 GB, free: 48 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/0.8285, allocations: 33.7 kB / 1.274 GB, free: 8 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.8287, allocations: 322.8 kB / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.176e-05/0.8288, allocations: 27.98 kB / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.8289, allocations: 65.14 kB / 1.274 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.8291, allocations: 96.2 kB / 1.274 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.8291, allocations: 4 kB / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002931/0.8294, allocations: 129.5 kB / 1.274 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.8294, allocations: 14.44 kB / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.8294, allocations: 0 / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.8294, allocations: 4 kB / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.8295, allocations: 11.98 kB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.8296, allocations: 7.938 kB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.834e-05/0.8296, allocations: 23.81 kB / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.8297, allocations: 4.312 kB / 1.274 GB, free: 15.27 MB / 0.9825 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 0.0001181/0.8298, allocations: 117.8 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.8298, allocations: 11.95 kB / 1.274 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.535e-05/0.8298, allocations: 16.36 kB / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.8298, allocations: 0 / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.8298, allocations: 0 / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.8298, allocations: 0 / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000721/0.8306, allocations: 430.3 kB / 1.275 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.8306, allocations: 0 / 1.275 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.8306, allocations: 11.98 kB / 1.275 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.8306, allocations: 4 kB / 1.275 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.8306, allocations: 3.938 kB / 1.275 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.8306, allocations: 0 / 1.275 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8306, allocations: 3.938 kB / 1.275 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.8311, allocations: 247.4 kB / 1.275 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.8311, allocations: 89.06 kB / 1.275 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.8311, allocations: 4 kB / 1.275 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.8313, allocations: 7.984 kB / 1.275 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.8313, allocations: 7.938 kB / 1.275 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.476e-05/0.8314, allocations: 7.984 kB / 1.275 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.818e-05/0.8314, allocations: 97.89 kB / 1.275 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8314, allocations: 0 / 1.275 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003144/0.8318, allocations: 43.88 kB / 1.275 GB, free: 14.08 MB / 0.9825 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.001099/0.8329, allocations: 0.8533 MB / 1.276 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002936/0.8332, allocations: 87.88 kB / 1.276 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.8332, allocations: 0 / 1.276 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.8333, allocations: 43.97 kB / 1.276 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.8336, allocations: 15.92 kB / 1.276 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.8356, allocations: 1.589 MB / 1.278 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.836, allocations: 0.6962 MB / 1.278 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.153e-05/0.836, allocations: 4 kB / 1.278 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.553e-05/0.8361, allocations: 23.42 kB / 1.278 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of SimCode: time 6.62e-07/0.8361, allocations: 0 / 1.278 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.8639, allocations: 3.028 MB / 1.281 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.433/9.297, allocations: 18.86 kB / 1.281 GB, free: 7.715 MB / 0.9825 GB " [Timeout remaining time 291] (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 --stepSize=1.44 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 15.34732298599556]