Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 104.9 kB / 16.45 MB, free: 6.504 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.001838/0.001838, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.494/1.494, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.559/2.559, allocations: 443.5 MB / 0.7287 GB, free: 13.4 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 71.83 kB / 1.056 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8954/0.8975, allocations: 160.7 MB / 1.213 GB, free: 3.934 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002905/0.9005, allocations: 1.525 MB / 1.214 GB, free: 2.742 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.9019, allocations: 0.7573 MB / 1.215 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.9019, allocations: 3.938 kB / 1.215 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.902, allocations: 4.969 kB / 1.215 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.045e-05/0.902, allocations: 12.95 kB / 1.215 GB, free: 2.137 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005675/0.9026, allocations: 143.4 kB / 1.215 GB, free: 2.031 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.9027, allocations: 106.3 kB / 1.215 GB, free: 1.969 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.712e-05/0.9028, allocations: 8.172 kB / 1.215 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.9029, allocations: 46.64 kB / 1.215 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.903, allocations: 51.81 kB / 1.215 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.9031, allocations: 10.09 kB / 1.216 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.9033, allocations: 110.4 kB / 1.216 GB, free: 1.844 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.286e-05/0.9033, allocations: 23.33 kB / 1.216 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.903e-05/0.9034, allocations: 44.86 kB / 1.216 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.9036, allocations: 161.7 kB / 1.216 GB, free: 1.684 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.9036, allocations: 0 / 1.216 GB, free: 1.684 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9036, allocations: 4 kB / 1.216 GB, free: 1.68 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.9036, allocations: 1.125 kB / 1.216 GB, free: 1.68 MB / 0.92 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.0007696/0.9044, allocations: 458.4 kB / 1.216 GB, free: 1.207 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.9045, allocations: 10.75 kB / 1.216 GB, free: 1.207 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.204e-05/0.9045, allocations: 36.09 kB / 1.216 GB, free: 1.164 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.9045, allocations: 8.891 kB / 1.216 GB, free: 1.16 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.9047, allocations: 180.1 kB / 1.216 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.9047, allocations: 8.156 kB / 1.216 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.9047, allocations: 12.78 kB / 1.217 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.905, allocations: 89.66 kB / 1.217 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.905, allocations: 3.984 kB / 1.217 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.905, allocations: 0.75 kB / 1.217 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.905, allocations: 1.094 kB / 1.217 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.9052, allocations: 49.09 kB / 1.217 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007799/0.906, allocations: 349.8 kB / 1.217 GB, free: 500 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.9061, allocations: 54.7 kB / 1.217 GB, free: 456 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.9063, allocations: 42.19 kB / 1.217 GB, free: 428 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.9063, allocations: 1.062 kB / 1.217 GB, free: 428 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/0.9065, allocations: 94.59 kB / 1.217 GB, free: 344 kB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.9065, allocations: 1.125 kB / 1.217 GB, free: 344 kB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0005512/0.9071, allocations: 185.1 kB / 1.217 GB, free: 236 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.9071, allocations: 57.94 kB / 1.217 GB, free: 168 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.9072, allocations: 130.9 kB / 1.218 GB, free: 48 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.9073, allocations: 35.17 kB / 1.218 GB, free: 8 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.9074, allocations: 90.88 kB / 1.218 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.9074, allocations: 18.86 kB / 1.218 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.9075, allocations: 30.92 kB / 1.218 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.9076, allocations: 324.9 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.835e-05/0.9077, allocations: 27.95 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.9078, allocations: 60.16 kB / 1.218 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.908, allocations: 92.55 kB / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.908, allocations: 0 / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002764/0.9083, allocations: 137.6 kB / 1.218 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.9083, allocations: 5.844 kB / 1.218 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.9083, allocations: 1.094 kB / 1.218 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.9083, allocations: 2.156 kB / 1.218 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.9085, allocations: 22.17 kB / 1.218 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.9085, allocations: 1.156 kB / 1.218 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.426e-05/0.9086, allocations: 13.58 kB / 1.218 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.9086, allocations: 3.219 kB / 1.218 GB, free: 15.31 MB / 0.9356 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.0001266/0.9087, allocations: 131.7 kB / 1.218 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.9087, allocations: 7.922 kB / 1.218 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.9087, allocations: 6.094 kB / 1.218 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.9087, allocations: 1.094 kB / 1.218 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.9088, allocations: 3.938 kB / 1.218 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.9088, allocations: 1.094 kB / 1.218 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006481/0.9094, allocations: 429 kB / 1.219 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.9094, allocations: 3.984 kB / 1.219 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.9094, allocations: 4.188 kB / 1.219 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.9095, allocations: 3.938 kB / 1.219 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.9095, allocations: 6.031 kB / 1.219 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/0.9095, allocations: 8.047 kB / 1.219 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.9095, allocations: 5.094 kB / 1.219 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.9099, allocations: 250.3 kB / 1.219 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.91, allocations: 82.84 kB / 1.219 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.91, allocations: 1.125 kB / 1.219 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.9101, allocations: 8.172 kB / 1.219 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.9102, allocations: 10.5 kB / 1.219 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.9102, allocations: 6.672 kB / 1.219 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.625e-05/0.9102, allocations: 94.2 kB / 1.219 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.9102, allocations: 0 / 1.219 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003406/0.9106, allocations: 47.72 kB / 1.219 GB, free: 14.34 MB / 0.9356 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.001026/0.9116, allocations: 0.8406 MB / 1.22 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002958/0.9119, allocations: 92.75 kB / 1.22 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.9119, allocations: 0 / 1.22 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.912, allocations: 38.94 kB / 1.22 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.9123, allocations: 15.06 kB / 1.22 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.9143, allocations: 1.588 MB / 1.222 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.9147, allocations: 0.6902 MB / 1.223 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.261e-05/0.9147, allocations: 7.609 kB / 1.223 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.9148, allocations: 23.27 kB / 1.223 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of SimCode: time 5.11e-07/0.9148, allocations: 0 / 1.223 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03244/0.9472, allocations: 3.012 MB / 1.226 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.083/9.03, allocations: 15.8 kB / 1.226 GB, free: 9.746 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.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: 14.916760608088225]