Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002363/0.002363, allocations: 220.4 kB / 22.26 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.848/2.848, allocations: 476.7 MB / 0.7707 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 68.81 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3701, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.003064/0.3732, allocations: 1.552 MB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.3748, allocations: 0.8353 MB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.406e-05/0.3748, allocations: 0 / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.504e-05/0.3749, allocations: 11.88 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.3749, allocations: 15.86 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007053/0.3756, allocations: 167.4 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.3758, allocations: 103.7 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3759, allocations: 7.984 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.3761, allocations: 55.89 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.3762, allocations: 55.81 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.3762, allocations: 8 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002852/0.3765, allocations: 151.7 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.072e-05/0.3765, allocations: 23.91 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.074e-05/0.3766, allocations: 43.78 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.3769, allocations: 167.6 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3769, allocations: 0 / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3769, allocations: 0 / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.3769, allocations: 3.984 kB / 1.286 GB, free: 8.523 MB / 0.9825 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.0006865/0.3776, allocations: 395 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3776, allocations: 15.97 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.784e-05/0.3777, allocations: 34.75 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004877/0.3782, allocations: 44.84 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.3784, allocations: 134.4 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.3784, allocations: 4.375 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.3785, allocations: 8.375 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.3787, allocations: 89.75 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.3787, allocations: 3.938 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.3787, allocations: 0 / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3787, allocations: 4 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.3789, allocations: 43.97 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007777/0.3797, allocations: 315.8 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.3798, allocations: 62.56 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.38, allocations: 40.84 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.38, allocations: 0 / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002194/0.3802, allocations: 95.34 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.3802, allocations: 0 / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005322/0.3807, allocations: 181.5 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.3808, allocations: 55.56 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.3809, allocations: 125.8 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.3809, allocations: 33.7 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.88e-05/0.381, allocations: 96.02 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.381, allocations: 27.83 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.3811, allocations: 29.7 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3812, allocations: 326.8 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.899e-05/0.3813, allocations: 27.98 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.3814, allocations: 68.77 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.3816, allocations: 92.22 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3816, allocations: 0 / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002658/0.3819, allocations: 133.5 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3819, allocations: 12.09 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3819, allocations: 0 / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3819, allocations: 0 / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.382, allocations: 19.98 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3821, allocations: 7.875 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.172e-05/0.3821, allocations: 11.95 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.3821, allocations: 8.297 kB / 1.289 GB, free: 5.797 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.0001102/0.3822, allocations: 124.1 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.3823, allocations: 11.95 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.3823, allocations: 8.375 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3823, allocations: 0 / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3823, allocations: 0 / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3823, allocations: 0 / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006081/0.3829, allocations: 409.4 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.3829, allocations: 3.984 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.383, allocations: 8 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.383, allocations: 0 / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.383, allocations: 0 / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.383, allocations: 7.984 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.383, allocations: 3.938 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.3834, allocations: 243.4 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.3834, allocations: 7.953 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.3834, allocations: 4.062 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.3835, allocations: 15.98 kB / 1.29 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.3836, allocations: 7.938 kB / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.3836, allocations: 7.984 kB / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.24e-05/0.3836, allocations: 94.08 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3836, allocations: 4 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003197/0.384, allocations: 35.94 kB / 1.29 GB, free: 4.746 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.0009879/0.3849, allocations: 0.8409 MB / 1.291 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002964/0.3852, allocations: 95.81 kB / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3852, allocations: 4 kB / 1.291 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.3854, allocations: 43.91 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.3856, allocations: 11.94 kB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.3876, allocations: 1.588 MB / 1.292 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.3879, allocations: 0.6924 MB / 1.293 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.03e-05/0.388, allocations: 7.984 kB / 1.293 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.388, allocations: 19.44 kB / 1.293 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.388, allocations: 0 / 1.293 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03085/0.4189, allocations: 3.178 MB / 1.296 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.54, allocations: 15.89 kB / 1.296 GB, free: 14.26 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.continuous,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 [Calling sys.exit(0), Time elapsed: 18.461562803015113]