Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.001837/0.001837, allocations: 102.1 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.00227/0.00227, allocations: 188.6 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.522/1.522, allocations: 225.6 MB / 247.8 MB, free: 3.742 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.646/2.646, 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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 67.89 kB / 1.056 GB, free: 2.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3312, allocations: 160.7 MB / 1.213 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002865/0.334, allocations: 1.501 MB / 1.214 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.3355, allocations: 0.7448 MB / 1.215 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.3355, allocations: 4 kB / 1.215 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.3356, allocations: 3.938 kB / 1.215 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.621e-05/0.3356, allocations: 15.84 kB / 1.215 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005564/0.3362, allocations: 119.6 kB / 1.215 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.3363, allocations: 79.7 kB / 1.215 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.3364, allocations: 8.266 kB / 1.215 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.3365, allocations: 39.91 kB / 1.215 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.87e-05/0.3366, allocations: 47.83 kB / 1.215 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.3366, allocations: 4 kB / 1.215 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.3368, allocations: 103.8 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.808e-05/0.3369, allocations: 15.98 kB / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.711e-05/0.3369, allocations: 27.86 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.3372, allocations: 151.4 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3372, allocations: 0 / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3372, allocations: 3.938 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.3372, allocations: 0 / 1.216 GB, free: 14.51 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.0007276/0.3379, allocations: 428.7 kB / 1.216 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.338, allocations: 8.031 kB / 1.216 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.338, allocations: 30.75 kB / 1.216 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.3381, allocations: 8.891 kB / 1.216 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.3383, allocations: 184.2 kB / 1.216 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.3383, allocations: 8.375 kB / 1.216 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.3383, allocations: 4.375 kB / 1.216 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.3385, allocations: 65.78 kB / 1.216 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3385, allocations: 0 / 1.216 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3385, allocations: 8 kB / 1.216 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3385, allocations: 0 / 1.216 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.3386, allocations: 39.97 kB / 1.216 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007251/0.3394, allocations: 308.7 kB / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.3395, allocations: 42.56 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.084e-05/0.3396, allocations: 32.97 kB / 1.217 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.3396, allocations: 4 kB / 1.217 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/0.3399, allocations: 79.44 kB / 1.217 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.3399, allocations: 0 / 1.217 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000432/0.3403, allocations: 141.5 kB / 1.217 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.3403, allocations: 55.41 kB / 1.217 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3405, allocations: 121.8 kB / 1.217 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.3405, allocations: 33.64 kB / 1.217 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/0.3406, allocations: 92.12 kB / 1.217 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.3406, allocations: 19.84 kB / 1.217 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.278e-05/0.3406, allocations: 29.7 kB / 1.217 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3408, allocations: 318.8 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.888e-05/0.3409, allocations: 31.98 kB / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.341, allocations: 47.42 kB / 1.218 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.3412, allocations: 79.34 kB / 1.218 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3412, allocations: 0 / 1.218 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002577/0.3414, allocations: 129.5 kB / 1.218 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3414, allocations: 8 kB / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3415, allocations: 3.984 kB / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3415, allocations: 0 / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.697e-05/0.3416, allocations: 12 kB / 1.218 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3416, allocations: 0 / 1.218 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.3416, allocations: 11.98 kB / 1.218 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.3417, allocations: 4 kB / 1.218 GB, free: 11.9 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.0001071/0.3418, allocations: 129.7 kB / 1.218 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.3418, allocations: 7.953 kB / 1.218 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.3418, allocations: 12.36 kB / 1.218 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3418, allocations: 4 kB / 1.218 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3418, allocations: 0 / 1.218 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3418, allocations: 0 / 1.218 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005111/0.3423, allocations: 386.4 kB / 1.218 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3423, allocations: 0 / 1.218 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.863e-05/0.3424, allocations: 7.938 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3424, allocations: 0 / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.3424, allocations: 7.984 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3424, allocations: 7.875 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3424, allocations: 4 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.3427, allocations: 199.9 kB / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/0.3428, allocations: 85.06 kB / 1.219 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.3428, allocations: 3.984 kB / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-05/0.3429, allocations: 11.94 kB / 1.219 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.343, allocations: 3.984 kB / 1.219 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.343, allocations: 7.984 kB / 1.219 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.549e-05/0.343, allocations: 95.86 kB / 1.219 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.343, allocations: 0 / 1.219 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003443/0.3434, allocations: 35.94 kB / 1.219 GB, free: 10.81 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,occ.y,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.001146/0.3445, allocations: 0.8071 MB / 1.22 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002893/0.3448, allocations: 79.94 kB / 1.22 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3448, allocations: 0 / 1.22 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.3449, allocations: 31.98 kB / 1.22 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.3452, allocations: 8.031 kB / 1.22 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.3474, allocations: 1.505 MB / 1.221 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.3478, allocations: 0.6846 MB / 1.222 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.614e-05/0.3478, allocations: 7.984 kB / 1.222 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.3479, allocations: 23.44 kB / 1.222 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/0.3479, allocations: 0 / 1.222 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.3756, allocations: 2.667 MB / 1.225 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.115/8.49, allocations: 15.31 kB / 1.225 GB, free: 4.977 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed [Calling sys.exit(0), Time elapsed: 14.63102124305442]