Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 105.1 kB / 16.27 MB, free: 6.398 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.001588/0.001588, allocations: 191.8 kB / 17.2 MB, free: 5.969 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.321/1.321, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.164/2.164, allocations: 390.3 MB / 0.6653 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 66.45 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.278, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002933/0.281, allocations: 1.517 MB / 0.9517 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.2823, allocations: 0.7557 MB / 0.9525 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.2824, allocations: 0 / 0.9525 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.434e-05/0.2824, allocations: 7.875 kB / 0.9525 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.921e-05/0.2825, allocations: 11.88 kB / 0.9525 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005908/0.2831, allocations: 139.6 kB / 0.9526 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.2833, allocations: 103.7 kB / 0.9527 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.523e-05/0.2834, allocations: 15.98 kB / 0.9527 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.2835, allocations: 47.89 kB / 0.9528 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.479e-05/0.2836, allocations: 51.81 kB / 0.9528 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.2836, allocations: 8 kB / 0.9528 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.2838, allocations: 99.84 kB / 0.9529 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.567e-05/0.2839, allocations: 31.89 kB / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.598e-05/0.2839, allocations: 43.8 kB / 0.953 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.2842, allocations: 163.8 kB / 0.9532 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2842, allocations: 4 kB / 0.9532 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2842, allocations: 0 / 0.9532 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.2842, allocations: 0 / 0.9532 GB, free: 5.848 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006592/0.2849, allocations: 454.6 kB / 0.9536 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2849, allocations: 8.031 kB / 0.9536 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.285, allocations: 16.83 kB / 0.9536 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.2851, allocations: 180 kB / 0.9538 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.2852, allocations: 12.31 kB / 0.9538 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.2852, allocations: 4.375 kB / 0.9538 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.2854, allocations: 93.94 kB / 0.9539 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.2855, allocations: 0 / 0.9539 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.2855, allocations: 0 / 0.9539 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2855, allocations: 0 / 0.9539 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.2857, allocations: 59.89 kB / 0.954 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007527/0.2864, allocations: 344.6 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.2866, allocations: 70.53 kB / 0.9544 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.2868, allocations: 44.83 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.2868, allocations: 4 kB / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.287, allocations: 99.38 kB / 0.9545 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.492e-06/0.2871, allocations: 3.938 kB / 0.9545 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0005651/0.2876, allocations: 185.5 kB / 0.9547 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.2877, allocations: 55.56 kB / 0.9547 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.2878, allocations: 125.8 kB / 0.9549 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.2878, allocations: 29.7 kB / 0.9549 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.2879, allocations: 92.12 kB / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.2879, allocations: 19.8 kB / 0.955 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.288, allocations: 33.7 kB / 0.955 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.2881, allocations: 322.8 kB / 0.9553 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.168e-05/0.2882, allocations: 35.91 kB / 0.9554 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.976e-05/0.2883, allocations: 56.28 kB / 0.9554 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.2885, allocations: 96.2 kB / 0.9555 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2885, allocations: 0 / 0.9555 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002609/0.2888, allocations: 133.4 kB / 0.9556 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.2888, allocations: 8 kB / 0.9556 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2888, allocations: 0 / 0.9556 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2888, allocations: 4.094 kB / 0.9557 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.2889, allocations: 20.05 kB / 0.9557 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2889, allocations: 0 / 0.9557 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.97e-05/0.289, allocations: 19.84 kB / 0.9557 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.289, allocations: 4 kB / 0.9557 GB, free: 3.004 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.958e-05/0.2892, allocations: 127.7 kB / 0.9558 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.2892, allocations: 7.906 kB / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.558e-05/0.2892, allocations: 8.375 kB / 0.9558 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2892, allocations: 11.94 kB / 0.9558 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2892, allocations: 0 / 0.9558 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2892, allocations: 0 / 0.9558 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005895/0.2898, allocations: 426.4 kB / 0.9562 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2898, allocations: 3.938 kB / 0.9563 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.2899, allocations: 4 kB / 0.9563 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2899, allocations: 0 / 0.9563 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.2899, allocations: 11.98 kB / 0.9563 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2899, allocations: 0 / 0.9563 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2899, allocations: 3.938 kB / 0.9563 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.2903, allocations: 239.4 kB / 0.9565 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.2904, allocations: 85.02 kB / 0.9566 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.2904, allocations: 11.92 kB / 0.9566 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.2905, allocations: 8 kB / 0.9566 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.2906, allocations: 11.92 kB / 0.9566 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.2906, allocations: 0 / 0.9566 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.345e-05/0.2907, allocations: 99.27 kB / 0.9567 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2907, allocations: 0 / 0.9567 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003188/0.291, allocations: 47.92 kB / 0.9568 GB, free: 1.82 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003232/0.2913, allocations: 161.2 kB / 0.9569 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003059/0.2916, allocations: 95.88 kB / 0.957 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2917, allocations: 3.938 kB / 0.957 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.2918, allocations: 48.44 kB / 0.957 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.2921, allocations: 13.33 kB / 0.9571 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/0.2926, allocations: 241.8 kB / 0.9573 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.2928, allocations: 0.6922 MB / 0.958 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.2929, allocations: 15.42 kB / 0.958 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.2929, allocations: 0 / 0.958 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of Templates: time 0.003517/0.2964, allocations: 1.808 MB / 0.9597 GB, free: 14.7 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches