Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 106.9 kB / 16.36 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 64.55 kB / 0.814 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2869, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002762/0.2897, allocations: 1.497 MB / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.2909, allocations: 0.7323 MB / 0.9533 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.851e-05/0.291, allocations: 0 / 0.9533 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.387e-05/0.291, allocations: 7.922 kB / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.246e-05/0.2911, allocations: 11.88 kB / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.2917, allocations: 127.6 kB / 0.9534 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.2918, allocations: 71.78 kB / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.2919, allocations: 11.98 kB / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.369e-05/0.292, allocations: 39.84 kB / 0.9535 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.2921, allocations: 39.83 kB / 0.9536 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.2921, allocations: 8 kB / 0.9536 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.2923, allocations: 95.91 kB / 0.9537 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.2923, allocations: 15.97 kB / 0.9537 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.148e-05/0.2924, allocations: 31.8 kB / 0.9537 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.2927, allocations: 147.5 kB / 0.9539 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.2927, allocations: 4 kB / 0.9539 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2927, allocations: 0 / 0.9539 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.2927, allocations: 0 / 0.9539 GB, free: 5.215 MB / 0.7325 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.000833/0.2935, allocations: 416.9 kB / 0.9543 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/0.2936, allocations: 12.03 kB / 0.9543 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/0.2937, allocations: 12.78 kB / 0.9543 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.2939, allocations: 168.3 kB / 0.9545 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.2939, allocations: 4.375 kB / 0.9545 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.2939, allocations: 12.36 kB / 0.9545 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.2942, allocations: 73.94 kB / 0.9545 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.2942, allocations: 0 / 0.9545 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.2942, allocations: 7.938 kB / 0.9546 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2942, allocations: 0 / 0.9546 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.2943, allocations: 35.98 kB / 0.9546 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007033/0.295, allocations: 316.7 kB / 0.9549 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.2952, allocations: 46.56 kB / 0.9549 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.2953, allocations: 36.97 kB / 0.955 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.2953, allocations: 11.94 kB / 0.955 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.2955, allocations: 71.38 kB / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 3.226e-06/0.2955, allocations: 0 / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004313/0.296, allocations: 145.5 kB / 0.9552 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/0.2961, allocations: 55.39 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.2962, allocations: 121.8 kB / 0.9554 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.2962, allocations: 25.7 kB / 0.9554 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.498e-05/0.2963, allocations: 96.12 kB / 0.9555 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.2963, allocations: 19.69 kB / 0.9555 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.2964, allocations: 29.7 kB / 0.9555 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.2966, allocations: 318.8 kB / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.64e-05/0.2967, allocations: 27.97 kB / 0.9558 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.2968, allocations: 59.8 kB / 0.9559 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.2969, allocations: 79.34 kB / 0.956 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.297, allocations: 0 / 0.956 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002457/0.2972, allocations: 117.5 kB / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2972, allocations: 8 kB / 0.9561 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2972, allocations: 0 / 0.9561 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.2973, allocations: 64 / 0.9561 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.2974, allocations: 23.92 kB / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.2974, allocations: 0 / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.2975, allocations: 7.906 kB / 0.9561 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.2975, allocations: 7.984 kB / 0.9561 GB, free: 2.641 MB / 0.7325 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.0001213/0.2976, allocations: 127.8 kB / 0.9563 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.2976, allocations: 4 kB / 0.9563 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.809e-05/0.2977, allocations: 4.375 kB / 0.9563 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2977, allocations: 4 kB / 0.9563 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2977, allocations: 0 / 0.9563 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2977, allocations: 3.984 kB / 0.9563 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.2982, allocations: 390.2 kB / 0.9566 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2982, allocations: 3.938 kB / 0.9567 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-05/0.2982, allocations: 11.98 kB / 0.9567 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2982, allocations: 0 / 0.9567 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.2982, allocations: 0 / 0.9567 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2983, allocations: 0 / 0.9567 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2983, allocations: 3.938 kB / 0.9567 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.2985, allocations: 211.8 kB / 0.9569 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.2986, allocations: 81.02 kB / 0.9569 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.2986, allocations: 8.047 kB / 0.957 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.697e-05/0.2987, allocations: 7.969 kB / 0.957 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.2988, allocations: 7.938 kB / 0.957 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.2988, allocations: 4 kB / 0.957 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.868e-05/0.2989, allocations: 95.27 kB / 0.9571 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2989, allocations: 0 / 0.9571 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003015/0.2992, allocations: 39.98 kB / 0.9571 GB, free: 1.551 MB / 0.7325 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.0003309/0.2995, allocations: 156.9 kB / 0.9573 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.2997, allocations: 79.88 kB / 0.9573 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2998, allocations: 0 / 0.9573 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.2999, allocations: 35.92 kB / 0.9574 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.3001, allocations: 9.703 kB / 0.9574 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.3005, allocations: 188.4 kB / 0.9576 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.3008, allocations: 0.6922 MB / 0.9582 GB, free: 356 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.434e-05/0.3008, allocations: 7.984 kB / 0.9582 GB, free: 348 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.3008, allocations: 11.44 kB / 0.9582 GB, free: 336 kB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.3008, allocations: 0 / 0.9582 GB, free: 336 kB / 0.7325 GB Notification: Performance of Templates: time 0.004674/0.3055, allocations: 1.459 MB / 0.9597 GB, free: 14.88 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0