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.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.001313/0.001313, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.00131/0.00131, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.478/1.478, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.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.773/2.773, allocations: 476.7 MB / 0.7611 GB, free: 15.74 MB / 0.6075 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.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: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 67.89 kB / 1.104 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.031, allocations: 168.7 MB / 1.269 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002436/1.033, allocations: 1.525 MB / 1.27 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001212/1.034, allocations: 0.7674 MB / 1.271 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/1.034, allocations: 0 / 1.271 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.599e-05/1.034, allocations: 11.81 kB / 1.271 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.626e-05/1.034, allocations: 14.56 kB / 1.271 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005844/1.035, allocations: 136 kB / 1.271 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/1.035, allocations: 104.2 kB / 1.271 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/1.035, allocations: 10.52 kB / 1.271 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.906e-05/1.035, allocations: 46.19 kB / 1.271 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.66e-05/1.035, allocations: 53.95 kB / 1.271 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/1.035, allocations: 9.406 kB / 1.271 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/1.036, allocations: 107.2 kB / 1.271 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.409e-05/1.036, allocations: 26.17 kB / 1.271 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.702e-05/1.036, allocations: 44.64 kB / 1.271 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002544/1.036, allocations: 157.9 kB / 1.272 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.036, allocations: 0.6562 kB / 1.272 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/1.036, allocations: 0 / 1.272 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.049e-05/1.036, allocations: 1.703 kB / 1.272 GB, free: 5.855 MB / 0.9981 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.000548/1.036, allocations: 464 kB / 1.272 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/1.037, allocations: 10.16 kB / 1.272 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.757e-05/1.037, allocations: 41.11 kB / 1.272 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/1.037, allocations: 9.828 kB / 1.272 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.782e-05/1.037, allocations: 178.5 kB / 1.272 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/1.037, allocations: 3.875 kB / 1.272 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/1.037, allocations: 4.938 kB / 1.272 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/1.037, allocations: 88.5 kB / 1.272 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/1.037, allocations: 4.844 kB / 1.272 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/1.037, allocations: 4.453 kB / 1.272 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/1.037, allocations: 1.719 kB / 1.272 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/1.037, allocations: 50.39 kB / 1.272 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006492/1.038, allocations: 340.6 kB / 1.273 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/1.038, allocations: 62.66 kB / 1.273 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/1.038, allocations: 35.23 kB / 1.273 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/1.038, allocations: 2.25 kB / 1.273 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/1.038, allocations: 92.17 kB / 1.273 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/1.038, allocations: 7.938 kB / 1.273 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0004923/1.039, allocations: 182.2 kB / 1.273 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/1.039, allocations: 60.77 kB / 1.273 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/1.039, allocations: 129 kB / 1.273 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/1.039, allocations: 26.8 kB / 1.273 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/1.039, allocations: 97.58 kB / 1.273 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/1.039, allocations: 22.84 kB / 1.273 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/1.039, allocations: 29.05 kB / 1.274 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.313e-05/1.039, allocations: 323.5 kB / 1.274 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.3e-05/1.039, allocations: 29.34 kB / 1.274 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.06e-05/1.039, allocations: 66.86 kB / 1.274 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/1.039, allocations: 97.72 kB / 1.274 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.039, allocations: 0 / 1.274 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002378/1.04, allocations: 129.4 kB / 1.274 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/1.04, allocations: 9.594 kB / 1.274 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/1.04, allocations: 4.562 kB / 1.274 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/1.04, allocations: 2.359 kB / 1.274 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/1.04, allocations: 16.98 kB / 1.274 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/1.04, allocations: 2.562 kB / 1.274 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/1.04, allocations: 20.67 kB / 1.274 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/1.04, allocations: 3.531 kB / 1.274 GB, free: 3.672 MB / 0.9981 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 6.148e-05/1.04, allocations: 128.4 kB / 1.274 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/1.04, allocations: 12.17 kB / 1.274 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/1.04, allocations: 10.06 kB / 1.274 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/1.04, allocations: 0.75 kB / 1.274 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/1.04, allocations: 0.875 kB / 1.274 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/1.04, allocations: 0 / 1.274 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/1.04, allocations: 425.8 kB / 1.275 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.04, allocations: 1.125 kB / 1.275 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/1.04, allocations: 8.359 kB / 1.275 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.04, allocations: 4.562 kB / 1.275 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/1.041, allocations: 4.453 kB / 1.275 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/1.041, allocations: 0.8438 kB / 1.275 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.041, allocations: 4.75 kB / 1.275 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/1.041, allocations: 238.9 kB / 1.275 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/1.041, allocations: 86.78 kB / 1.275 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/1.041, allocations: 13.81 kB / 1.275 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/1.041, allocations: 7.016 kB / 1.275 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/1.041, allocations: 8.344 kB / 1.275 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/1.041, allocations: 5.578 kB / 1.275 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.913e-05/1.041, allocations: 101.5 kB / 1.275 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/1.041, allocations: 0 / 1.275 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003144/1.041, allocations: 47.48 kB / 1.275 GB, free: 2.785 MB / 0.9981 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.0007197/1.042, allocations: 0.8271 MB / 1.276 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002744/1.042, allocations: 89.42 kB / 1.276 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/1.042, allocations: 4.844 kB / 1.276 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/1.043, allocations: 42.72 kB / 1.276 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/1.043, allocations: 14.77 kB / 1.276 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/1.044, allocations: 1.595 MB / 1.278 GB, free: 16.64 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/1.045, allocations: 0.6921 MB / 1.278 GB, free: 15.94 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.039e-05/1.045, allocations: 12.08 kB / 1.278 GB, free: 15.94 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/1.045, allocations: 19.38 kB / 1.278 GB, free: 15.92 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/1.045, allocations: 0 / 1.278 GB, free: 15.92 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/1.075, allocations: 3.01 MB / 1.281 GB, free: 15.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.148/9.223, allocations: 10.95 kB / 1.281 GB, free: 15.39 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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.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: 15.408250188920647]