Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extShaCon.TSha|TRadOut.T|TRadRoo.T|extShaCon.air.Q_flow|extShaCon.glass.Q_flow|extNonShaCon.air.Q_flow|extNonShaCon.glass.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extShaCon.TSha|TRadOut.T|TRadRoo.T|extShaCon.air.Q_flow|extShaCon.glass.Q_flow|extNonShaCon.air.Q_flow|extNonShaCon.glass.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.491/1.491, allocations: 249.3 MB / 261.8 MB, free: 5.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001432/0.001432, allocations: 172.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.1 MB / 0.572 GB, free: 10.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009104/0.0009104, allocations: 86.52 kB / 0.6764 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.548e-05/3.564e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2538, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9112/1.165, allocations: 137.1 MB / 1.026 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003543/1.166, allocations: 90 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02017/1.186, allocations: 6.666 MB / 1.032 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.469e-06/1.186, allocations: 0 / 1.032 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.542e-05/1.186, allocations: 11.94 kB / 1.032 GB, free: 7.887 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00105/1.187, allocations: 0.6233 MB / 1.033 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/1.187, allocations: 12.03 kB / 1.033 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/1.187, allocations: 51.39 kB / 1.033 GB, free: 7.18 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004952/1.188, allocations: 315.8 kB / 1.033 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/1.188, allocations: 23.34 kB / 1.033 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.348e-05/1.188, allocations: 34.94 kB / 1.033 GB, free: 6.824 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005755/1.188, allocations: 357.2 kB / 1.034 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/1.188, allocations: 0 / 1.034 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/1.188, allocations: 16.56 kB / 1.034 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/1.188, allocations: 8 kB / 1.034 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/1.189, allocations: 235.3 kB / 1.034 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/1.191, allocations: 1.473 MB / 1.035 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004938/1.191, allocations: 261 kB / 1.036 GB, free: 4.859 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/1.192, allocations: 170 kB / 1.036 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/1.192, allocations: 240 / 1.036 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/1.192, allocations: 38.78 kB / 1.036 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=27): time 2.896e-06/1.192, allocations: 0 / 1.036 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of matching and sorting (n=27): time 0.001035/1.193, allocations: 421.4 kB / 1.036 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/1.193, allocations: 55.41 kB / 1.036 GB, free: 4.301 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/1.193, allocations: 312.3 kB / 1.037 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/1.193, allocations: 29.83 kB / 1.037 GB, free: 4.016 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/1.193, allocations: 221.2 kB / 1.037 GB, free: 3.848 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.756e-05/1.193, allocations: 94.89 kB / 1.037 GB, free: 3.766 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/1.193, allocations: 7.125 kB / 1.037 GB, free: 3.762 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.194, allocations: 342.3 kB / 1.037 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/1.194, allocations: 88.73 kB / 1.037 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/1.194, allocations: 144.8 kB / 1.037 GB, free: 3.246 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/1.194, allocations: 100.1 kB / 1.038 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.194, allocations: 0 / 1.038 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009578/1.195, allocations: 454.1 kB / 1.038 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002439/1.195, allocations: 0.5354 MB / 1.038 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/1.195, allocations: 0 / 1.038 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007162/1.196, allocations: 175.7 kB / 1.039 GB, free: 2.109 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/1.196, allocations: 43.22 kB / 1.039 GB, free: 2.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008437/1.197, allocations: 0.7958 MB / 1.039 GB, free: 1.355 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/1.197, allocations: 47.11 kB / 1.04 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/1.198, allocations: 11.25 kB / 1.04 GB, free: 1.305 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/1.198, allocations: 4 kB / 1.04 GB, free: 1.301 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008821/1.198, allocations: 392.7 kB / 1.04 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/1.198, allocations: 7.984 kB / 1.04 GB, free: 1.004 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006153/1.199, allocations: 183.2 kB / 1.04 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/1.199, allocations: 40.02 kB / 1.04 GB, free: 0.8164 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/1.202, allocations: 2.364 MB / 1.042 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/1.203, allocations: 43.61 kB / 1.042 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/1.203, allocations: 10.94 kB / 1.042 GB, free: 14.71 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001284/1.203, allocations: 116.5 kB / 1.043 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.325e-05/1.203, allocations: 43.42 kB / 1.043 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/1.203, allocations: 52.34 kB / 1.043 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/1.203, allocations: 0 / 1.043 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/1.203, allocations: 0 / 1.043 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.203, allocations: 11.98 kB / 1.043 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/1.203, allocations: 406 kB / 1.043 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.203, allocations: 4 kB / 1.043 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/1.204, allocations: 27.98 kB / 1.043 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005795/1.204, allocations: 178.3 kB / 1.043 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/1.204, allocations: 7.391 kB / 1.043 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002804/1.207, allocations: 2.355 MB / 1.046 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.207, allocations: 0 / 1.046 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009476/1.208, allocations: 0.5056 MB / 1.046 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/1.208, allocations: 128.3 kB / 1.046 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/1.208, allocations: 11.83 kB / 1.046 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/1.208, allocations: 31.19 kB / 1.046 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.596e-05/1.209, allocations: 23.28 kB / 1.046 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/1.209, allocations: 11.81 kB / 1.046 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002714/1.209, allocations: 252.3 kB / 1.047 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.41e-07/1.209, allocations: 0 / 1.047 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006366/1.209, allocations: 206.6 kB / 1.047 GB, free: 10.91 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.000197/1.21, allocations: 112.2 kB / 1.047 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001114/1.211, allocations: 0.5631 MB / 1.047 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.211, allocations: 0 / 1.047 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004297/1.211, allocations: 302 kB / 1.048 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/1.212, allocations: 83.36 kB / 1.048 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/1.213, allocations: 485.7 kB / 1.048 GB, free: 9.598 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/1.213, allocations: 0.8153 MB / 1.049 GB, free: 8.758 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002234/1.214, allocations: 47.27 kB / 1.049 GB, free: 8.711 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/1.214, allocations: 19.44 kB / 1.049 GB, free: 8.691 MB / 0.6667 GB Notification: Performance of SimCode: time 3.4e-07/1.214, allocations: 0 / 1.049 GB, free: 8.691 MB / 0.6667 GB Notification: Performance of Templates: time 0.01424/1.228, allocations: 7.579 MB / 1.056 GB, free: 1.203 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches