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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 110.4 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002306/0.002306, allocations: 210.7 kB / 22.25 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.829/2.829, allocations: 476.7 MB / 0.7707 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002908/0.002908, allocations: 69.59 kB / 1.117 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3745, allocations: 169.9 MB / 1.283 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003121/0.3776, allocations: 1.529 MB / 1.285 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.3793, allocations: 0.8232 MB / 1.286 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.101e-05/0.3794, allocations: 3.938 kB / 1.286 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.438e-05/0.3794, allocations: 7.938 kB / 1.286 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.698e-05/0.3795, allocations: 11.86 kB / 1.286 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007263/0.3802, allocations: 143.6 kB / 1.286 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.3803, allocations: 71.78 kB / 1.286 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.3805, allocations: 16.11 kB / 1.286 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.3806, allocations: 43.84 kB / 1.286 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.886e-05/0.3807, allocations: 35.89 kB / 1.286 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.3807, allocations: 8 kB / 1.286 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003094/0.381, allocations: 143.7 kB / 1.286 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.381, allocations: 23.92 kB / 1.286 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.3811, allocations: 35.84 kB / 1.286 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.3814, allocations: 155.4 kB / 1.286 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3814, allocations: 4 kB / 1.286 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3814, allocations: 0 / 1.286 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.3814, allocations: 0 / 1.286 GB, free: 0.7539 MB / 0.9825 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.0006133/0.382, allocations: 347.5 kB / 1.287 GB, free: 388 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.382, allocations: 8.031 kB / 1.287 GB, free: 380 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.674e-05/0.3821, allocations: 38.75 kB / 1.287 GB, free: 332 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003211/0.3824, allocations: 28.91 kB / 1.287 GB, free: 304 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.3826, allocations: 133.8 kB / 1.287 GB, free: 148 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.3826, allocations: 4.375 kB / 1.287 GB, free: 144 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.3827, allocations: 4.375 kB / 1.287 GB, free: 140 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.3829, allocations: 73.58 kB / 1.287 GB, free: 60 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3829, allocations: 4 kB / 1.287 GB, free: 56 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3829, allocations: 3.938 kB / 1.287 GB, free: 52 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3829, allocations: 11.98 kB / 1.287 GB, free: 40 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.383, allocations: 31.98 kB / 1.287 GB, free: 8 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/0.3836, allocations: 279.9 kB / 1.287 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.3837, allocations: 46.55 kB / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.452e-05/0.3838, allocations: 36.97 kB / 1.287 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.3838, allocations: 3.938 kB / 1.287 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.384, allocations: 71.38 kB / 1.287 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.384, allocations: 4 kB / 1.287 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003963/0.3844, allocations: 141.6 kB / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.3844, allocations: 63.34 kB / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.3846, allocations: 122.1 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.3846, allocations: 29.7 kB / 1.288 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/0.3846, allocations: 92.09 kB / 1.288 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.3847, allocations: 23.77 kB / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.3847, allocations: 33.7 kB / 1.288 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3849, allocations: 314.8 kB / 1.288 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.693e-05/0.3849, allocations: 31.98 kB / 1.288 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.385, allocations: 46.55 kB / 1.288 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.3852, allocations: 70.55 kB / 1.288 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3852, allocations: 0 / 1.288 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002443/0.3854, allocations: 121.5 kB / 1.288 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3855, allocations: 7.984 kB / 1.288 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3855, allocations: 4 kB / 1.288 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3855, allocations: 0 / 1.288 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.396e-05/0.3856, allocations: 8 kB / 1.288 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3856, allocations: 0 / 1.288 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.3856, allocations: 7.984 kB / 1.288 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.3857, allocations: 15.88 kB / 1.288 GB, free: 14.32 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 9.933e-05/0.3858, allocations: 117.9 kB / 1.289 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.3858, allocations: 7.953 kB / 1.289 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.3858, allocations: 16.36 kB / 1.289 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3858, allocations: 7.922 kB / 1.289 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3858, allocations: 0 / 1.289 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3858, allocations: 0 / 1.289 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.3863, allocations: 345.5 kB / 1.289 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3863, allocations: 4 kB / 1.289 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.3864, allocations: 7.938 kB / 1.289 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3864, allocations: 0 / 1.289 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.3864, allocations: 7.984 kB / 1.289 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3864, allocations: 3.938 kB / 1.289 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3864, allocations: 3.938 kB / 1.289 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.3867, allocations: 207.5 kB / 1.289 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.3867, allocations: 11.89 kB / 1.289 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.3867, allocations: 0 / 1.289 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-05/0.3868, allocations: 15.92 kB / 1.289 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.3868, allocations: 11.98 kB / 1.289 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.3868, allocations: 0 / 1.289 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.513e-05/0.3869, allocations: 95.27 kB / 1.289 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3869, allocations: 0 / 1.289 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000305/0.3872, allocations: 35.94 kB / 1.289 GB, free: 13.36 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.000863/0.3881, allocations: 0.8064 MB / 1.29 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.3883, allocations: 75.95 kB / 1.29 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3883, allocations: 0 / 1.29 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.808e-05/0.3884, allocations: 31.97 kB / 1.29 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.3887, allocations: 10.19 kB / 1.29 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.3904, allocations: 1.504 MB / 1.292 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.3907, allocations: 0.6885 MB / 1.292 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.361e-05/0.3908, allocations: 4 kB / 1.292 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.3908, allocations: 23.42 kB / 1.292 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.3908, allocations: 0 / 1.292 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.4192, allocations: 2.826 MB / 1.295 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.69, allocations: 5.547 kB / 1.295 GB, free: 7.41 MB / 0.9981 GB " [Timeout remaining time 288] (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/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.continuous,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: 18.237732144072652]