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.001247/0.001247, allocations: 107.2 kB / 16.45 MB, free: 6.508 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.001322/0.001322, allocations: 196.6 kB / 19.41 MB, free: 3.676 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.441/1.441, 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 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.746/2.746, allocations: 476.7 MB / 0.7611 GB, free: 11.46 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.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.002135/0.002135, allocations: 67.89 kB / 1.104 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8053/0.8075, allocations: 168.7 MB / 1.269 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003314/0.8108, allocations: 1.518 MB / 1.27 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.8124, allocations: 0.7299 MB / 1.271 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.931e-05/0.8125, allocations: 8 kB / 1.271 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.8125, allocations: 3.938 kB / 1.271 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-05/0.8126, allocations: 7.875 kB / 1.271 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006908/0.8133, allocations: 123.6 kB / 1.271 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.8134, allocations: 75.77 kB / 1.271 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.111e-05/0.8135, allocations: 15.75 kB / 1.271 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.081e-05/0.8136, allocations: 39.84 kB / 1.271 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.865e-05/0.8137, allocations: 39.83 kB / 1.271 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.8137, allocations: 4 kB / 1.271 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.8139, allocations: 107.9 kB / 1.271 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.865e-05/0.8139, allocations: 19.92 kB / 1.271 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.814, allocations: 27.86 kB / 1.271 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.8142, allocations: 145.5 kB / 1.272 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.8142, allocations: 0 / 1.272 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8142, allocations: 0 / 1.272 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.8143, allocations: 0 / 1.272 GB, free: 2.355 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006723/0.8149, allocations: 424.7 kB / 1.272 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.815, allocations: 8.031 kB / 1.272 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.815, allocations: 34.75 kB / 1.272 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.815, allocations: 8.891 kB / 1.272 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.8152, allocations: 176.3 kB / 1.272 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.8152, allocations: 8.375 kB / 1.272 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.8152, allocations: 4.375 kB / 1.272 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.8154, allocations: 69.72 kB / 1.272 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.8154, allocations: 0 / 1.272 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.8154, allocations: 7.938 kB / 1.272 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.8154, allocations: 4 kB / 1.272 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.8156, allocations: 39.97 kB / 1.272 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006447/0.8162, allocations: 312.7 kB / 1.273 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.8164, allocations: 46.5 kB / 1.273 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.268e-05/0.8164, allocations: 32.95 kB / 1.273 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.8165, allocations: 4 kB / 1.273 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.8167, allocations: 79.44 kB / 1.273 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.8167, allocations: 0 / 1.273 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000404/0.8171, allocations: 137.5 kB / 1.273 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.8171, allocations: 55.41 kB / 1.273 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.8173, allocations: 133.7 kB / 1.273 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.8173, allocations: 25.7 kB / 1.273 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.8173, allocations: 88.14 kB / 1.273 GB, free: 484 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.8174, allocations: 15.91 kB / 1.273 GB, free: 468 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.8174, allocations: 29.7 kB / 1.273 GB, free: 432 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.8176, allocations: 322.8 kB / 1.273 GB, free: 100 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.861e-05/0.8176, allocations: 23.98 kB / 1.274 GB, free: 76 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.958e-05/0.8177, allocations: 50.56 kB / 1.274 GB, free: 16 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.8179, allocations: 70.48 kB / 1.274 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.8179, allocations: 0 / 1.274 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002461/0.8182, allocations: 121.6 kB / 1.274 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.8182, allocations: 8 kB / 1.274 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.8182, allocations: 3.984 kB / 1.274 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.8182, allocations: 0 / 1.274 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.788e-05/0.8183, allocations: 15.92 kB / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.8183, allocations: 4 kB / 1.274 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.791e-05/0.8184, allocations: 11.94 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.8184, allocations: 7.922 kB / 1.274 GB, free: 15.76 MB / 0.9825 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 0.0001102/0.8185, allocations: 129.8 kB / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.8185, allocations: 3.953 kB / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.8185, allocations: 12.38 kB / 1.274 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.8185, allocations: 0 / 1.274 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8186, allocations: 4 kB / 1.274 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.8186, allocations: 0 / 1.274 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004864/0.819, allocations: 378.4 kB / 1.274 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.819, allocations: 3.938 kB / 1.274 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.8191, allocations: 7.984 kB / 1.274 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.8191, allocations: 4 kB / 1.274 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.8191, allocations: 8 kB / 1.274 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.8191, allocations: 3.938 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8191, allocations: 0 / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.8194, allocations: 208 kB / 1.275 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.8195, allocations: 81.06 kB / 1.275 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.8195, allocations: 0 / 1.275 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.173e-05/0.8196, allocations: 15.94 kB / 1.275 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.8196, allocations: 7.984 kB / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.8196, allocations: 0 / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.431e-05/0.8197, allocations: 95.27 kB / 1.275 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8197, allocations: 0 / 1.275 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003146/0.82, allocations: 43.86 kB / 1.275 GB, free: 14.67 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: 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.0009317/0.8209, allocations: 0.8033 MB / 1.276 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.8212, allocations: 75.88 kB / 1.276 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.8212, allocations: 4.125 kB / 1.276 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.522e-05/0.8213, allocations: 27.98 kB / 1.276 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.8216, allocations: 14.55 kB / 1.276 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.8234, allocations: 1.494 MB / 1.277 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.8238, allocations: 0.6923 MB / 1.278 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.874e-05/0.8238, allocations: 7.984 kB / 1.278 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.8239, allocations: 19.42 kB / 1.278 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/0.8239, allocations: 4 kB / 1.278 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.8505, allocations: 2.673 MB / 1.28 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/9.101, allocations: 13.78 kB / 1.28 GB, free: 8.867 MB / 0.9825 GB " [Timeout remaining time 291] (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 --stepSize=1.44 --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_2/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: 15.064818989951164]