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.308/2.308, allocations: 390.5 MB / 398 MB, free: 10.95 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.001157/0.001157, allocations: 176.8 kB / 491.2 MB, free: 1.566 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.772/1.772, allocations: 221.5 MB / 0.7868 GB, free: 13.35 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.000978/0.000978, allocations: 98.31 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.805e-05/1.808e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3353, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.472/5.807, allocations: 1.736 GB / 2.948 GB, free: 128.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/5.808, allocations: 88.45 kB / 2.948 GB, free: 128.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2525/6.06, allocations: 118.1 MB / 3.064 GB, free: 10.09 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.974e-06/6.06, allocations: 0 / 3.064 GB, free: 10.09 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001178/6.06, allocations: 55.94 kB / 3.064 GB, free: 10.04 MB / 1.151 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.004488/6.065, allocations: 2.221 MB / 3.066 GB, free: 7.754 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/6.065, allocations: 12.03 kB / 3.066 GB, free: 7.742 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01259/6.077, allocations: 1.944 MB / 3.068 GB, free: 5.793 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00396/6.081, allocations: 1.324 MB / 3.069 GB, free: 4.422 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/6.082, allocations: 80 kB / 3.069 GB, free: 4.344 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003911/6.082, allocations: 144 kB / 3.069 GB, free: 4.203 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006402/6.088, allocations: 3.41 MB / 3.073 GB, free: 0.7852 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.9023/6.991, allocations: 2.688 MB / 3.075 GB, free: 370.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.753e-05/6.991, allocations: 0.9375 kB / 3.075 GB, free: 370.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003019/6.991, allocations: 1.875 kB / 3.075 GB, free: 370.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/6.991, allocations: 61.84 kB / 3.075 GB, free: 370.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02501/7.016, allocations: 8.411 MB / 3.083 GB, free: 370 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004541/7.021, allocations: 2.243 MB / 3.086 GB, free: 369.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/7.023, allocations: 1.185 MB / 3.087 GB, free: 369.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008871/7.024, allocations: 0.5168 MB / 3.087 GB, free: 369.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003155/7.027, allocations: 1.464 MB / 3.089 GB, free: 369.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 4.699e-06/7.027, allocations: 0 / 3.089 GB, free: 369.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=222): time 0.01633/7.044, allocations: 4.048 MB / 3.093 GB, free: 369.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/7.044, allocations: 256.5 kB / 3.093 GB, free: 368.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/7.046, allocations: 0.7695 MB / 3.094 GB, free: 368.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002439/7.046, allocations: 26.83 kB / 3.094 GB, free: 368.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/7.047, allocations: 0.8394 MB / 3.094 GB, free: 368.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008865/7.048, allocations: 0.6909 MB / 3.095 GB, free: 368 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/7.048, allocations: 0 / 3.095 GB, free: 368 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001828/7.048, allocations: 375.3 kB / 3.096 GB, free: 367.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/7.05, allocations: 0.9349 MB / 3.096 GB, free: 367.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/7.052, allocations: 1.118 MB / 3.098 GB, free: 367.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/7.064, allocations: 2.676 MB / 3.1 GB, free: 367.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.919e-05/7.064, allocations: 6.031 kB / 3.1 GB, free: 367.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01634/7.08, allocations: 4.116 MB / 3.104 GB, free: 367.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/7.08, allocations: 5.656 kB / 3.104 GB, free: 367.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/7.08, allocations: 2.938 kB / 3.104 GB, free: 367.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006855/7.081, allocations: 87.41 kB / 3.104 GB, free: 367.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004656/7.086, allocations: 0.6211 MB / 3.105 GB, free: 367.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/7.088, allocations: 1.464 MB / 3.106 GB, free: 366.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003896/7.092, allocations: 306.6 kB / 3.107 GB, free: 366.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003879/7.092, allocations: 101.3 kB / 3.107 GB, free: 366.1 MB / 1.151 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.0006136/7.093, allocations: 140.3 kB / 3.107 GB, free: 366 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000583/7.093, allocations: 151.3 kB / 3.107 GB, free: 366 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01813/7.112, allocations: 4.753 MB / 3.112 GB, free: 365 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.733e-05/7.112, allocations: 23.56 kB / 3.112 GB, free: 365 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/7.112, allocations: 3.953 kB / 3.112 GB, free: 365 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-05/7.112, allocations: 12.69 kB / 3.112 GB, free: 365 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0197/7.131, allocations: 7.407 MB / 3.119 GB, free: 362.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/7.132, allocations: 0 / 3.119 GB, free: 362.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003539/7.135, allocations: 0.6042 MB / 3.119 GB, free: 362.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004905/7.136, allocations: 85.5 kB / 3.12 GB, free: 362 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002041/7.136, allocations: 51.39 kB / 3.12 GB, free: 362 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/7.137, allocations: 1.484 MB / 3.121 GB, free: 360.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/7.137, allocations: 0 / 3.121 GB, free: 360.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02028/7.158, allocations: 4.214 MB / 3.125 GB, free: 359.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00213/7.16, allocations: 0.6555 MB / 3.126 GB, free: 358.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008978/7.161, allocations: 4 kB / 3.126 GB, free: 358.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003308/7.164, allocations: 233.5 kB / 3.126 GB, free: 358.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004435/7.165, allocations: 148.2 kB / 3.126 GB, free: 358.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002537/7.165, allocations: 94.73 kB / 3.126 GB, free: 358.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001087/7.166, allocations: 0.6545 MB / 3.127 GB, free: 358.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/7.166, allocations: 0 / 3.127 GB, free: 358.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003221/7.169, allocations: 0.687 MB / 3.128 GB, free: 358.4 MB / 1.151 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.0028/7.172, allocations: 1.122 MB / 3.129 GB, free: 358.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004935/7.177, allocations: 2.482 MB / 3.131 GB, free: 357 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/7.177, allocations: 8 kB / 3.131 GB, free: 357 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002265/7.179, allocations: 1.415 MB / 3.132 GB, free: 356.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/7.181, allocations: 259.9 kB / 3.133 GB, free: 356.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007632/7.189, allocations: 3.307 MB / 3.136 GB, free: 354.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/7.19, allocations: 1.54 MB / 3.137 GB, free: 354.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003826/7.194, allocations: 0.5892 MB / 3.138 GB, free: 353.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/7.195, allocations: 244.8 kB / 3.138 GB, free: 353.8 MB / 1.151 GB Notification: Performance of SimCode: time 2.375e-06/7.195, allocations: 0 / 3.138 GB, free: 353.8 MB / 1.151 GB Notification: Performance of Templates: time 0.05326/7.248, allocations: 31.97 MB / 3.169 GB, free: 351.5 MB / 1.151 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