Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HGloRoo.H|HGloWal.H|HGloFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HGloRoo.H|HGloWal.H|HGloFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.366/2.366, allocations: 393.5 MB / 408.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 186.4 kB / 0.4902 GB, free: 2.207 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.637/1.637, allocations: 223.2 MB / 0.7992 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009073/0.0009074, allocations: 98.44 kB / 0.9396 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005051/0.0005052, allocations: 10.22 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3276, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.593/4.921, allocations: 1.737 GB / 2.966 GB, free: 249.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/4.921, allocations: 96.73 kB / 2.966 GB, free: 249.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2737/5.195, allocations: 119.4 MB / 3.082 GB, free: 129.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.547e-06/5.195, allocations: 0 / 3.082 GB, free: 129.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002023/5.195, allocations: 63.88 kB / 3.082 GB, free: 129.6 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 640 * Number of variables: 640 Notification: Performance of Generate backend data structure: time 0.007213/5.203, allocations: 2.403 MB / 3.085 GB, free: 127.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/5.203, allocations: 12.56 kB / 3.085 GB, free: 127.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01336/5.216, allocations: 1.944 MB / 3.087 GB, free: 125.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004379/5.22, allocations: 1.332 MB / 3.088 GB, free: 123.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002317/5.221, allocations: 189 kB / 3.088 GB, free: 123.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00133/5.222, allocations: 240 kB / 3.088 GB, free: 123.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009949/5.232, allocations: 3.657 MB / 3.092 GB, free: 119.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.018e-05/5.232, allocations: 3.938 kB / 3.092 GB, free: 119.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003223/5.232, allocations: 108 kB / 3.092 GB, free: 119.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-05/5.233, allocations: 60 kB / 3.092 GB, free: 119.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01269/5.245, allocations: 4.758 MB / 3.097 GB, free: 114.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01659/5.262, allocations: 8.85 MB / 3.105 GB, free: 105.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008002/5.27, allocations: 3.083 MB / 3.109 GB, free: 102.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007068/5.271, allocations: 0.5152 MB / 3.109 GB, free: 102 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004756/5.275, allocations: 1.903 MB / 3.111 GB, free: 100.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=222): time 4.879e-06/5.275, allocations: 0 / 3.111 GB, free: 100.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=222): time 0.01358/5.289, allocations: 4.784 MB / 3.116 GB, free: 95.26 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.188e-05/5.289, allocations: 261.3 kB / 3.116 GB, free: 94.95 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/5.291, allocations: 1.005 MB / 3.117 GB, free: 93.94 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002293/5.291, allocations: 65.7 kB / 3.117 GB, free: 93.87 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005852/5.291, allocations: 0.8168 MB / 3.118 GB, free: 93.04 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005031/5.292, allocations: 0.7159 MB / 3.118 GB, free: 92.31 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/5.292, allocations: 44 kB / 3.118 GB, free: 92.27 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001111/5.292, allocations: 378.4 kB / 3.119 GB, free: 91.89 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003669/5.296, allocations: 1.351 MB / 3.12 GB, free: 90.54 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003732/5.3, allocations: 1.547 MB / 3.122 GB, free: 88.95 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003745/5.303, allocations: 1.415 MB / 3.123 GB, free: 87.54 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/5.303, allocations: 0 / 3.123 GB, free: 87.54 MB / 1.167 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009146/5.313, allocations: 3.339 MB / 3.126 GB, free: 84.19 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/5.313, allocations: 4 kB / 3.126 GB, free: 84.19 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/5.313, allocations: 0 / 3.126 GB, free: 84.19 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006003/5.313, allocations: 92.83 kB / 3.126 GB, free: 84.09 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003812/5.317, allocations: 0.6241 MB / 3.127 GB, free: 83.47 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/5.319, allocations: 1.54 MB / 3.128 GB, free: 81.79 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003739/5.323, allocations: 369.8 kB / 3.129 GB, free: 81.42 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000292/5.323, allocations: 99.83 kB / 3.129 GB, free: 81.32 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * 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 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001753/5.325, allocations: 490.9 kB / 3.129 GB, free: 80.84 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004624/5.326, allocations: 165.9 kB / 3.129 GB, free: 80.67 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/5.337, allocations: 4.014 MB / 3.133 GB, free: 76.64 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/5.337, allocations: 24 kB / 3.133 GB, free: 76.61 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/5.337, allocations: 0 / 3.133 GB, free: 76.61 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-05/5.337, allocations: 15.91 kB / 3.133 GB, free: 76.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/5.351, allocations: 6.964 MB / 3.14 GB, free: 69.58 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/5.351, allocations: 4 kB / 3.14 GB, free: 69.57 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003585/5.354, allocations: 0.5968 MB / 3.141 GB, free: 68.98 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005093/5.355, allocations: 96.7 kB / 3.141 GB, free: 68.88 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002249/5.355, allocations: 71.92 kB / 3.141 GB, free: 68.81 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/5.357, allocations: 1.559 MB / 3.143 GB, free: 67.11 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/5.357, allocations: 0 / 3.143 GB, free: 67.11 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0091/5.366, allocations: 3.443 MB / 3.146 GB, free: 63.65 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/5.367, allocations: 0.6813 MB / 3.147 GB, free: 62.95 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000316/5.367, allocations: 44 kB / 3.147 GB, free: 62.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00272/5.37, allocations: 271.7 kB / 3.147 GB, free: 62.64 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002598/5.37, allocations: 141.8 kB / 3.147 GB, free: 62.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002064/5.371, allocations: 91.91 kB / 3.147 GB, free: 62.41 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001158/5.372, allocations: 0.8566 MB / 3.148 GB, free: 61.55 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.11e-07/5.372, allocations: 0 / 3.148 GB, free: 61.55 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00223/5.374, allocations: 0.7478 MB / 3.149 GB, free: 60.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002074/5.376, allocations: 1.135 MB / 3.15 GB, free: 59.84 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008617/5.385, allocations: 3.35 MB / 3.153 GB, free: 56.48 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/5.385, allocations: 0 / 3.153 GB, free: 56.48 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004298/5.389, allocations: 1.861 MB / 3.155 GB, free: 54.61 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/5.391, allocations: 310.8 kB / 3.155 GB, free: 54.31 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/5.403, allocations: 5.573 MB / 3.161 GB, free: 48.71 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/5.404, allocations: 1.54 MB / 3.162 GB, free: 47.13 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00449/5.408, allocations: 0.5958 MB / 3.163 GB, free: 46.53 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/5.409, allocations: 243.2 kB / 3.163 GB, free: 46.29 MB / 1.167 GB Notification: Performance of SimCode: time 2.224e-06/5.41, allocations: 4 kB / 3.163 GB, free: 46.29 MB / 1.167 GB Notification: Performance of Templates: time 0.06236/5.472, allocations: 37.73 MB / 3.2 GB, free: 8.699 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches