Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.002106/0.002106, allocations: 106.8 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.002596/0.002596, 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.451/1.451, allocations: 225.6 MB / 247.8 MB, free: 13.98 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.562/2.562, allocations: 443.5 MB / 0.7287 GB, free: 13.3 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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 63.89 kB / 1.056 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.769/0.7711, allocations: 160.7 MB / 1.213 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002899/0.774, allocations: 1.511 MB / 1.214 GB, free: 2.68 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.7753, allocations: 0.7319 MB / 1.215 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.072e-05/0.7753, allocations: 5.125 kB / 1.215 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.7754, allocations: 3.938 kB / 1.215 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.114e-05/0.7754, allocations: 20.94 kB / 1.215 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/0.7759, allocations: 121.8 kB / 1.215 GB, free: 2 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.7761, allocations: 79.17 kB / 1.215 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.007e-05/0.7762, allocations: 10.86 kB / 1.215 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.21e-05/0.7763, allocations: 38.23 kB / 1.215 GB, free: 1.926 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.749e-05/0.7763, allocations: 35.69 kB / 1.215 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.7764, allocations: 6.531 kB / 1.215 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.7766, allocations: 107.5 kB / 1.215 GB, free: 1.844 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.7766, allocations: 22.27 kB / 1.216 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.7766, allocations: 35.52 kB / 1.216 GB, free: 1.797 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.7769, allocations: 136.2 kB / 1.216 GB, free: 1.711 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7769, allocations: 1.094 kB / 1.216 GB, free: 1.711 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7769, allocations: 0 / 1.216 GB, free: 1.711 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.7769, allocations: 0 / 1.216 GB, free: 1.711 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006573/0.7775, allocations: 421.5 kB / 1.216 GB, free: 1.277 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.7776, allocations: 10.22 kB / 1.216 GB, free: 1.277 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.293e-05/0.7776, allocations: 44.95 kB / 1.216 GB, free: 1.227 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.7777, allocations: 8.297 kB / 1.216 GB, free: 1.223 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.7778, allocations: 172 kB / 1.216 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.7778, allocations: 2.5 kB / 1.216 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.7778, allocations: 4.75 kB / 1.216 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.778, allocations: 75.61 kB / 1.216 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.778, allocations: 0 / 1.216 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.778, allocations: 0.875 kB / 1.216 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.778, allocations: 0.7188 kB / 1.216 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.7782, allocations: 45.12 kB / 1.216 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006132/0.7788, allocations: 317.1 kB / 1.217 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.7789, allocations: 43.31 kB / 1.217 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.459e-05/0.779, allocations: 29.53 kB / 1.217 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.779, allocations: 4.656 kB / 1.217 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.7792, allocations: 81.75 kB / 1.217 GB, free: 484 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.7792, allocations: 0 / 1.217 GB, free: 484 kB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004255/0.7797, allocations: 144.2 kB / 1.217 GB, free: 396 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.7797, allocations: 53.94 kB / 1.217 GB, free: 332 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.7799, allocations: 124.8 kB / 1.217 GB, free: 212 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.7799, allocations: 26.83 kB / 1.217 GB, free: 180 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.7799, allocations: 94.34 kB / 1.217 GB, free: 84 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.78, allocations: 14.67 kB / 1.217 GB, free: 72 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/0.78, allocations: 29.92 kB / 1.217 GB, free: 44 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.7802, allocations: 321 kB / 1.218 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.335e-05/0.7803, allocations: 22.8 kB / 1.218 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.7804, allocations: 64.14 kB / 1.218 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.7806, allocations: 69.89 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.7806, allocations: 0 / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002562/0.7808, allocations: 113.5 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.7808, allocations: 5.219 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.7808, allocations: 5.328 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.7809, allocations: 0.7188 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.781, allocations: 12.94 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.781, allocations: 0.875 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.327e-05/0.781, allocations: 15.98 kB / 1.218 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.7811, allocations: 3.094 kB / 1.218 GB, free: 15.52 MB / 0.9356 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.0001115/0.7812, allocations: 122.4 kB / 1.218 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.7812, allocations: 11.02 kB / 1.218 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.7812, allocations: 18.3 kB / 1.218 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7812, allocations: 1.031 kB / 1.218 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.7812, allocations: 0 / 1.218 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.7812, allocations: 1.062 kB / 1.218 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/0.7818, allocations: 382.1 kB / 1.218 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.7818, allocations: 1.031 kB / 1.218 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.7818, allocations: 7.25 kB / 1.218 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7818, allocations: 1.094 kB / 1.218 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.7818, allocations: 5.109 kB / 1.218 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.7818, allocations: 7.922 kB / 1.218 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7818, allocations: 1.219 kB / 1.218 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.7821, allocations: 204.4 kB / 1.219 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.7822, allocations: 84.12 kB / 1.219 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.7822, allocations: 8 kB / 1.219 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.451e-05/0.7823, allocations: 10.98 kB / 1.219 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.7823, allocations: 3.281 kB / 1.219 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.7824, allocations: 6.422 kB / 1.219 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.508e-05/0.7824, allocations: 91.92 kB / 1.219 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7824, allocations: 0 / 1.219 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003234/0.7827, allocations: 40 kB / 1.219 GB, free: 14.61 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: 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.0008749/0.7836, allocations: 0.8111 MB / 1.22 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.7839, allocations: 67.73 kB / 1.22 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7839, allocations: 8.062 kB / 1.22 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.784e-05/0.784, allocations: 38.5 kB / 1.22 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.7842, allocations: 8.875 kB / 1.22 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.786, allocations: 1.495 MB / 1.221 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.7863, allocations: 0.6883 MB / 1.222 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.901e-05/0.7864, allocations: 2.594 kB / 1.222 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.7864, allocations: 27.67 kB / 1.222 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.7864, allocations: 0 / 1.222 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.8125, allocations: 2.678 MB / 1.225 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.85, allocations: 11.92 kB / 1.225 GB, free: 10.31 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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: 14.631695233751088]