Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.00137/0.00137, allocations: 76.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.001531/0.001531, allocations: 161.7 kB / 23.54 MB, free: 0.8945 MB / 18.57 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.565/1.565, allocations: 177.2 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.811/2.811, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.552e-05/3.746e-05, allocations: 7.922 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003189/0.003227, allocations: 1.509 MB / 0.7878 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.00498, allocations: 0.7706 MB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.494e-05/0.005045, allocations: 0 / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.602e-05/0.005081, allocations: 7.875 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.156e-05/0.005152, allocations: 13.12 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007445/0.005897, allocations: 151.3 kB / 0.7888 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.006047, allocations: 76.39 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.006148, allocations: 9.594 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.006358, allocations: 55.88 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.277e-05/0.00644, allocations: 35.88 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.006466, allocations: 8 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003164/0.006782, allocations: 136.5 kB / 0.7891 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.95e-05/0.006812, allocations: 15.98 kB / 0.7891 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.328e-05/0.006865, allocations: 24.47 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.007225, allocations: 176.1 kB / 0.7893 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.007229, allocations: 0 / 0.7893 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.00723, allocations: 0.9062 kB / 0.7893 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.007235, allocations: 0 / 0.7893 GB, free: 9.867 MB / 0.7448 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.000735/0.00797, allocations: 344.2 kB / 0.7896 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.00801, allocations: 12.75 kB / 0.7896 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003913/0.008402, allocations: 34.53 kB / 0.7896 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.008661, allocations: 129.7 kB / 0.7898 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.008691, allocations: 8.359 kB / 0.7898 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.008708, allocations: 4.375 kB / 0.7898 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.008922, allocations: 71.5 kB / 0.7899 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.008931, allocations: 4.125 kB / 0.7899 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.008947, allocations: 4.125 kB / 0.7899 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.008952, allocations: 5.594 kB / 0.7899 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.009096, allocations: 35.97 kB / 0.7899 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006568/0.009753, allocations: 253.4 kB / 0.7901 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.0099, allocations: 49.84 kB / 0.7902 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.294e-05/0.009993, allocations: 28.97 kB / 0.7902 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.01002, allocations: 7.938 kB / 0.7902 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.01021, allocations: 71.38 kB / 0.7903 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.01021, allocations: 0 / 0.7903 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004727/0.01069, allocations: 146.3 kB / 0.7904 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.01074, allocations: 51.41 kB / 0.7905 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.01088, allocations: 132.5 kB / 0.7906 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.01091, allocations: 26.73 kB / 0.7906 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.01098, allocations: 92.12 kB / 0.7907 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.01101, allocations: 19.91 kB / 0.7907 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-05/0.0111, allocations: 30.36 kB / 0.7908 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.01128, allocations: 318.8 kB / 0.7911 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.736e-05/0.01138, allocations: 28.5 kB / 0.7911 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.01149, allocations: 48.8 kB / 0.7911 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.01168, allocations: 84.5 kB / 0.7912 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01169, allocations: 0 / 0.7912 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003/0.01199, allocations: 126.4 kB / 0.7913 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.01202, allocations: 5.531 kB / 0.7914 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.01203, allocations: 4 kB / 0.7914 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.01205, allocations: 0 / 0.7914 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.01215, allocations: 11.98 kB / 0.7914 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.01216, allocations: 10.38 kB / 0.7914 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.149e-05/0.01225, allocations: 12 kB / 0.7914 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.01226, allocations: 11.94 kB / 0.7914 GB, free: 7.504 MB / 0.7448 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.0001218/0.01238, allocations: 121.8 kB / 0.7915 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.01241, allocations: 15.33 kB / 0.7915 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.01244, allocations: 12.44 kB / 0.7915 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.01245, allocations: 3.984 kB / 0.7915 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.01245, allocations: 0 / 0.7915 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.01246, allocations: 0 / 0.7915 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006846/0.01314, allocations: 318.2 kB / 0.7918 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.01315, allocations: 0 / 0.7918 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.01319, allocations: 4 kB / 0.7919 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.01319, allocations: 0.75 kB / 0.7919 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.01321, allocations: 7.922 kB / 0.7919 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01321, allocations: 0.5 kB / 0.7919 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01321, allocations: 0 / 0.7919 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.01357, allocations: 220.6 kB / 0.7921 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.01359, allocations: 15.88 kB / 0.7921 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.01362, allocations: 5.391 kB / 0.7921 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.37e-05/0.01371, allocations: 4 kB / 0.7921 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.01377, allocations: 11.98 kB / 0.7921 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.01378, allocations: 0.5312 kB / 0.7921 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.533e-05/0.01386, allocations: 97.52 kB / 0.7922 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01386, allocations: 1.594 kB / 0.7922 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003446/0.0142, allocations: 35.94 kB / 0.7922 GB, free: 6.598 MB / 0.7448 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.0005074/0.01471, allocations: 165.8 kB / 0.7924 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002823/0.01499, allocations: 64.89 kB / 0.7925 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01499, allocations: 5.281 kB / 0.7925 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.0151, allocations: 31.92 kB / 0.7925 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.01541, allocations: 25.41 kB / 0.7925 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.01592, allocations: 178 kB / 0.7927 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.937e-05/0.016, allocations: 69.38 kB / 0.7928 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.428e-05/0.01605, allocations: 7.984 kB / 0.7928 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.01609, allocations: 15.72 kB / 0.7928 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of SimCode: time 9.21e-07/0.01609, allocations: 0 / 0.7928 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of Templates: time 0.00564/0.02173, allocations: 1.514 MB / 0.7943 GB, free: 4.531 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.7834247020073235]