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.493/2.493, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.00114/0.00114, allocations: 184.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.689/1.689, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.0008952/0.0008953, allocations: 99.7 kB / 0.9318 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.579e-05/3.582e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3683, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.61/5.979, allocations: 1.736 GB / 2.955 GB, free: 77.73 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003677/5.979, allocations: 87.95 kB / 2.955 GB, free: 77.64 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.331/7.31, allocations: 119.1 MB / 3.072 GB, free: 391.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.254e-06/7.31, allocations: 0 / 3.072 GB, free: 391.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002763/7.31, allocations: 59.2 kB / 3.072 GB, free: 391.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.007675/7.318, allocations: 2.234 MB / 3.074 GB, free: 390.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/7.318, allocations: 10.25 kB / 3.074 GB, free: 390.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01369/7.331, allocations: 1.941 MB / 3.076 GB, free: 390.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004743/7.336, allocations: 1.324 MB / 3.077 GB, free: 390 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003349/7.337, allocations: 186.2 kB / 3.077 GB, free: 390 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/7.338, allocations: 245.7 kB / 3.077 GB, free: 390 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008481/7.347, allocations: 3.034 MB / 3.08 GB, free: 389.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.032e-05/7.347, allocations: 1.375 kB / 3.08 GB, free: 389.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003219/7.347, allocations: 104.2 kB / 3.081 GB, free: 389.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-05/7.347, allocations: 63.16 kB / 3.081 GB, free: 389.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007338/7.354, allocations: 3.545 MB / 3.084 GB, free: 389.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01904/7.373, allocations: 8.838 MB / 3.093 GB, free: 386.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003867/7.377, allocations: 2.371 MB / 3.095 GB, free: 385.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001917/7.379, allocations: 1.247 MB / 3.096 GB, free: 385.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007667/7.38, allocations: 0.5173 MB / 3.097 GB, free: 384.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002383/7.382, allocations: 1.529 MB / 3.098 GB, free: 384.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=222): time 4.138e-06/7.382, allocations: 3.938 kB / 3.098 GB, free: 384.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=222): time 0.005237/7.388, allocations: 2.499 MB / 3.101 GB, free: 383.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/7.388, allocations: 256.7 kB / 3.101 GB, free: 382.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/7.389, allocations: 0.9883 MB / 3.102 GB, free: 382.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002106/7.39, allocations: 65.42 kB / 3.102 GB, free: 382.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006898/7.39, allocations: 0.8122 MB / 3.103 GB, free: 381.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006016/7.391, allocations: 0.7268 MB / 3.103 GB, free: 381.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/7.391, allocations: 35.81 kB / 3.103 GB, free: 381.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001246/7.391, allocations: 383.2 kB / 3.104 GB, free: 380.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/7.393, allocations: 0.967 MB / 3.105 GB, free: 380.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/7.395, allocations: 1.171 MB / 3.106 GB, free: 379.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/7.396, allocations: 1.037 MB / 3.107 GB, free: 379.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/7.396, allocations: 0 / 3.107 GB, free: 379.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.005162/7.402, allocations: 2.575 MB / 3.109 GB, free: 378.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/7.402, allocations: 7.844 kB / 3.109 GB, free: 378.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/7.402, allocations: 0 / 3.109 GB, free: 378.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005938/7.402, allocations: 89.27 kB / 3.11 GB, free: 378.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003692/7.406, allocations: 0.6193 MB / 3.11 GB, free: 378.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/7.408, allocations: 1.523 MB / 3.112 GB, free: 376.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003441/7.411, allocations: 370.7 kB / 3.112 GB, free: 376.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002714/7.412, allocations: 101.6 kB / 3.112 GB, free: 376.5 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 () * 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.000552/7.412, allocations: 213.2 kB / 3.112 GB, free: 376.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004396/7.413, allocations: 169.8 kB / 3.112 GB, free: 376.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007112/7.42, allocations: 3.253 MB / 3.116 GB, free: 374.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/7.42, allocations: 21.47 kB / 3.116 GB, free: 374.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/7.42, allocations: 3.5 kB / 3.116 GB, free: 374.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.135e-05/7.42, allocations: 11.95 kB / 3.116 GB, free: 374.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/7.43, allocations: 6.184 MB / 3.122 GB, free: 370.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/7.43, allocations: 0 / 3.122 GB, free: 370.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003656/7.434, allocations: 0.6048 MB / 3.122 GB, free: 370.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000519/7.434, allocations: 87.88 kB / 3.122 GB, free: 370 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002356/7.435, allocations: 73.2 kB / 3.122 GB, free: 370 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/7.436, allocations: 1.545 MB / 3.124 GB, free: 368.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/7.436, allocations: 0 / 3.124 GB, free: 368.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005764/7.442, allocations: 2.687 MB / 3.127 GB, free: 367.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/7.443, allocations: 0.6827 MB / 3.127 GB, free: 366.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/7.444, allocations: 37.66 kB / 3.127 GB, free: 366.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002784/7.447, allocations: 267.9 kB / 3.128 GB, free: 366.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003124/7.447, allocations: 152.9 kB / 3.128 GB, free: 366.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000224/7.447, allocations: 89.67 kB / 3.128 GB, free: 366.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001433/7.449, allocations: 0.8501 MB / 3.129 GB, free: 365.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/7.449, allocations: 0 / 3.129 GB, free: 365.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002827/7.451, allocations: 0.7452 MB / 3.129 GB, free: 365.6 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) * 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.002683/7.454, allocations: 1.095 MB / 3.13 GB, free: 365.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005217/7.459, allocations: 2.584 MB / 3.133 GB, free: 363.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/7.459, allocations: 7.25 kB / 3.133 GB, free: 363.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002377/7.462, allocations: 1.464 MB / 3.134 GB, free: 363.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/7.464, allocations: 313.2 kB / 3.135 GB, free: 363.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007293/7.471, allocations: 3.451 MB / 3.138 GB, free: 361.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008275/7.472, allocations: 1.546 MB / 3.14 GB, free: 359.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003581/7.475, allocations: 0.5953 MB / 3.14 GB, free: 359 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/7.476, allocations: 251.2 kB / 3.14 GB, free: 358.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.693e-06/7.476, allocations: 0 / 3.14 GB, free: 358.8 MB / 1.167 GB Notification: Performance of Templates: time 0.06264/7.539, allocations: 39.39 MB / 3.179 GB, free: 319.9 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