Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.00184/0.00184, allocations: 102.5 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.00212/0.00212, 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.48/1.48, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.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.63/2.63, allocations: 443.5 MB / 0.7287 GB, free: 14.5 MB / 0.5762 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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.89 kB / 1.056 GB, free: 2.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3698, allocations: 160.7 MB / 1.213 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002936/0.3727, allocations: 1.505 MB / 1.214 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.3741, allocations: 0.7408 MB / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4e-05/0.3742, allocations: 4 kB / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.3742, allocations: 3.938 kB / 1.215 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.659e-05/0.3742, allocations: 11.88 kB / 1.215 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/0.3748, allocations: 123.6 kB / 1.215 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.3749, allocations: 79.75 kB / 1.215 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.901e-05/0.375, allocations: 8.281 kB / 1.215 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.669e-05/0.3751, allocations: 43.84 kB / 1.215 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/0.3752, allocations: 31.89 kB / 1.215 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.3752, allocations: 11.94 kB / 1.215 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.3754, allocations: 99.89 kB / 1.215 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.3754, allocations: 15.98 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.177e-05/0.3755, allocations: 35.84 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.3758, allocations: 147.4 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3758, allocations: 0 / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3758, allocations: 0 / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3758, allocations: 3.938 kB / 1.216 GB, free: 14.55 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.0006915/0.3765, allocations: 420.7 kB / 1.216 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3765, allocations: 12.03 kB / 1.216 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.3765, allocations: 38.75 kB / 1.216 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.3766, allocations: 8.891 kB / 1.216 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.3767, allocations: 180.2 kB / 1.216 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.3767, allocations: 384 / 1.216 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.3768, allocations: 8.375 kB / 1.216 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.377, allocations: 73.72 kB / 1.216 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.377, allocations: 0 / 1.216 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.377, allocations: 0 / 1.216 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.377, allocations: 0 / 1.216 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.3771, allocations: 43.97 kB / 1.216 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006263/0.3777, allocations: 316.8 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.3779, allocations: 50.48 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.915e-05/0.3779, allocations: 32.97 kB / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.378, allocations: 0 / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.3782, allocations: 75.38 kB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.3782, allocations: 0 / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004045/0.3786, allocations: 141.5 kB / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.3786, allocations: 55.47 kB / 1.217 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.3787, allocations: 129.8 kB / 1.217 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.3788, allocations: 33.64 kB / 1.217 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.3788, allocations: 92.08 kB / 1.217 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.3788, allocations: 19.84 kB / 1.217 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.3789, allocations: 25.7 kB / 1.217 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.379, allocations: 322.8 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.3792, allocations: 27.98 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.3793, allocations: 50.55 kB / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.3794, allocations: 70.5 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3794, allocations: 0 / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002479/0.3797, allocations: 113.6 kB / 1.218 GB, free: 12 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.3797, allocations: 8 kB / 1.218 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3797, allocations: 7.984 kB / 1.218 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3797, allocations: 0 / 1.218 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.547e-05/0.3798, allocations: 11.98 kB / 1.218 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3798, allocations: 0 / 1.218 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.207e-05/0.3799, allocations: 4 kB / 1.218 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.3799, allocations: 7.984 kB / 1.218 GB, free: 11.96 MB / 0.9669 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.0001044/0.38, allocations: 125.7 kB / 1.218 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.38, allocations: 7.953 kB / 1.218 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.898e-05/0.38, allocations: 12.38 kB / 1.218 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3801, allocations: 0 / 1.218 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3801, allocations: 0 / 1.218 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3801, allocations: 0 / 1.218 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.3806, allocations: 386.4 kB / 1.218 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3806, allocations: 0 / 1.218 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-05/0.3806, allocations: 11.92 kB / 1.218 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3806, allocations: 4 kB / 1.218 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.3806, allocations: 0 / 1.218 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3806, allocations: 11.88 kB / 1.218 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3806, allocations: 0 / 1.218 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.3809, allocations: 211.9 kB / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.381, allocations: 85.06 kB / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.381, allocations: 0 / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.08e-05/0.3811, allocations: 15.92 kB / 1.219 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.3811, allocations: 0 / 1.219 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3811, allocations: 8 kB / 1.219 GB, free: 11 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.208e-05/0.3812, allocations: 95.27 kB / 1.219 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3812, allocations: 0 / 1.219 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003209/0.3815, allocations: 35.92 kB / 1.219 GB, free: 10.87 MB / 0.9669 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.0009586/0.3825, allocations: 0.8093 MB / 1.22 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000258/0.3828, allocations: 67.89 kB / 1.22 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3828, allocations: 0 / 1.22 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.616e-05/0.3829, allocations: 36.11 kB / 1.22 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.3831, allocations: 15.92 kB / 1.22 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.3849, allocations: 1.492 MB / 1.221 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.3853, allocations: 0.6846 MB / 1.222 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.915e-05/0.3853, allocations: 7.984 kB / 1.222 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.3854, allocations: 23.42 kB / 1.222 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.3854, allocations: 0 / 1.222 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/0.4117, allocations: 2.674 MB / 1.225 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/8.532, allocations: 2.922 kB / 1.225 GB, free: 5.078 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.50711834570393]