Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.001394/0.001394, allocations: 105.8 kB / 17.54 MB, free: 4.781 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.001413/0.001413, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.318/1.318, allocations: 225.6 MB / 249.3 MB, free: 3.18 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.508/2.508, allocations: 476.7 MB / 0.7628 GB, free: 15.21 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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 67.89 kB / 1.107 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8037/0.8055, allocations: 168.7 MB / 1.271 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002157/0.8077, allocations: 1.523 MB / 1.273 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.8088, allocations: 0.7476 MB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.62e-05/0.8089, allocations: 0.8438 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.253e-05/0.8089, allocations: 5.625 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.612e-05/0.809, allocations: 14.22 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.8095, allocations: 121.4 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.8096, allocations: 78.09 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.182e-05/0.8097, allocations: 13.38 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.598e-05/0.8097, allocations: 38.58 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.278e-05/0.8098, allocations: 38.19 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.8098, allocations: 6.594 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.81, allocations: 107.9 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.81, allocations: 18.27 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/0.8101, allocations: 36.36 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.8103, allocations: 135.2 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.8103, allocations: 0.8125 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8103, allocations: 0 / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.8103, allocations: 0.8125 kB / 1.274 GB, free: 5.922 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005201/0.8108, allocations: 423.7 kB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.8109, allocations: 10.03 kB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.773e-05/0.8109, allocations: 39.84 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.8109, allocations: 8.766 kB / 1.275 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.999e-05/0.811, allocations: 170 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.811, allocations: 2.406 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.811, allocations: 10.86 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.8112, allocations: 66.5 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.8112, allocations: 4 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.8112, allocations: 1.703 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.8112, allocations: 1 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.8114, allocations: 42.7 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.8118, allocations: 314.7 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.8119, allocations: 49.5 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.501e-05/0.812, allocations: 29.3 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.812, allocations: 0.8125 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.8122, allocations: 85.27 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.943e-06/0.8122, allocations: 3.984 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003581/0.8125, allocations: 144 kB / 1.276 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.8126, allocations: 53.62 kB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/0.8126, allocations: 120.8 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.8126, allocations: 31.69 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.86e-05/0.8127, allocations: 90.39 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.8127, allocations: 14.28 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.8127, allocations: 25.17 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.8128, allocations: 322.7 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.44e-05/0.8128, allocations: 31.94 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-05/0.8129, allocations: 50.39 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.8131, allocations: 68.59 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8131, allocations: 4 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002149/0.8133, allocations: 117.9 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.8133, allocations: 5.094 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.8133, allocations: 0.8125 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.8133, allocations: 1.094 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.8134, allocations: 15.73 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.8134, allocations: 5.25 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.197e-05/0.8135, allocations: 9.375 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.8135, allocations: 7.719 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.272e-05/0.8135, allocations: 128.5 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.8136, allocations: 7.578 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.8136, allocations: 6.391 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.8136, allocations: 4.875 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.8136, allocations: 1.125 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.8136, allocations: 0.6562 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003525/0.8139, allocations: 392 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.8139, allocations: 0 / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/0.814, allocations: 4.219 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.814, allocations: 2.625 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.814, allocations: 0.9375 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.814, allocations: 5.562 kB / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.814, allocations: 0 / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.8142, allocations: 223 kB / 1.277 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.8142, allocations: 80.84 kB / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.8143, allocations: 0.75 kB / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/0.8143, allocations: 8.328 kB / 1.277 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.8144, allocations: 5.969 kB / 1.277 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.8144, allocations: 5.938 kB / 1.277 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.367e-05/0.8144, allocations: 92.67 kB / 1.277 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8144, allocations: 0 / 1.277 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000281/0.8147, allocations: 42.31 kB / 1.277 GB, free: 3.031 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005633/0.8153, allocations: 0.8046 MB / 1.278 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.8155, allocations: 66.08 kB / 1.278 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8155, allocations: 0 / 1.278 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.747e-05/0.8156, allocations: 38.8 kB / 1.278 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.8158, allocations: 14.41 kB / 1.278 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.8171, allocations: 1.502 MB / 1.28 GB, free: 16.95 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.8173, allocations: 0.6956 MB / 1.28 GB, free: 16.25 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.067e-05/0.8174, allocations: 4.5 kB / 1.28 GB, free: 16.25 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.8174, allocations: 20.58 kB / 1.28 GB, free: 16.23 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.8174, allocations: 7.938 kB / 1.28 GB, free: 16.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.8419, allocations: 2.651 MB / 1.283 GB, free: 15.72 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.916/7.758, allocations: 0 / 1.283 GB, free: 15.72 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.p,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.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed [Calling sys.exit(0), Time elapsed: 13.100983816000735]