Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001528/0.001528, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.33/2.33, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002988, allocations: 8 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6045/0.6049, allocations: 142.3 MB / 0.9535 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.004686/0.6096, allocations: 4.567 MB / 0.958 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1388/0.7485, allocations: 128.1 MB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.7497, allocations: 19.88 kB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007053/0.7504, allocations: 103 kB / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002537/0.753, allocations: 0.6444 MB / 1.084 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.7553, allocations: 0.7309 MB / 1.084 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002329/0.7577, allocations: 1.15 MB / 1.086 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.7592, allocations: 0.8322 MB / 1.086 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.7602, allocations: 0.5601 MB / 1.087 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009951/0.7612, allocations: 0.5634 MB / 1.088 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002881/0.7615, allocations: 40 kB / 1.088 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.7626, allocations: 323.6 kB / 1.088 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003965/0.763, allocations: 274.8 kB / 1.088 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004232/0.7634, allocations: 300.8 kB / 1.088 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002135/0.7655, allocations: 1.8 MB / 1.09 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.7656, allocations: 0 / 1.09 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7656, allocations: 0 / 1.09 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.447e-05/0.7657, allocations: 0 / 1.09 GB, free: 3.844 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003913/0.7696, allocations: 1.707 MB / 1.092 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.7696, allocations: 8.031 kB / 1.092 GB, free: 2.066 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.7708, allocations: 265.6 kB / 1.092 GB, free: 1.805 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.7724, allocations: 0.9381 MB / 1.093 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.7726, allocations: 111.1 kB / 1.093 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/0.7728, allocations: 156 kB / 1.093 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/0.7757, allocations: 1.557 MB / 1.095 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.7757, allocations: 0 / 1.095 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/0.7759, allocations: 67.95 kB / 1.095 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/0.7759, allocations: 40 kB / 1.095 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/0.7786, allocations: 1.631 MB / 1.096 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007222/0.7858, allocations: 4.18 MB / 1.101 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002136/0.788, allocations: 1.194 MB / 1.102 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.7881, allocations: 48.86 kB / 1.102 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001315/0.7895, allocations: 0.7666 MB / 1.103 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=128): time 4.198e-06/0.7895, allocations: 7.938 kB / 1.103 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=128): time 0.004358/0.7939, allocations: 1.839 MB / 1.104 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.794, allocations: 197.2 kB / 1.105 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.7952, allocations: 0.8576 MB / 1.105 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.7953, allocations: 53.7 kB / 1.105 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004616/0.7958, allocations: 0.6092 MB / 1.106 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003302/0.7961, allocations: 414.1 kB / 1.106 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.708e-05/0.7962, allocations: 24 kB / 1.106 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.7963, allocations: 353.9 kB / 1.107 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000798/0.7972, allocations: 422.4 kB / 1.107 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008965/0.7981, allocations: 0.5527 MB / 1.108 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009/0.799, allocations: 490.3 kB / 1.108 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.799, allocations: 0 / 1.108 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.0027/0.8017, allocations: 1.281 MB / 1.109 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.8017, allocations: 9.359 kB / 1.109 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.8017, allocations: 3.984 kB / 1.109 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006144/0.8024, allocations: 84.84 kB / 1.11 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.8035, allocations: 259.6 kB / 1.11 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.8055, allocations: 1.551 MB / 1.111 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.8067, allocations: 158.8 kB / 1.111 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.8068, allocations: 51.95 kB / 1.111 GB, free: 13.45 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.incAngHor.decAng.tNext,incAngHor.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.incAngNor.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0006752/0.8075, allocations: 344.2 kB / 1.112 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/0.8078, allocations: 130.5 kB / 1.112 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/0.8116, allocations: 1.737 MB / 1.114 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.8116, allocations: 16 kB / 1.114 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.8116, allocations: 4 kB / 1.114 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.8116, allocations: 7.969 kB / 1.114 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.8134, allocations: 1.408 MB / 1.115 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.8134, allocations: 0 / 1.115 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009696/0.8144, allocations: 215.7 kB / 1.115 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005439/0.815, allocations: 88.77 kB / 1.115 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.8151, allocations: 35.97 kB / 1.115 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.817, allocations: 1.579 MB / 1.117 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.817, allocations: 0 / 1.117 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002883/0.8199, allocations: 1.402 MB / 1.118 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007831/0.8207, allocations: 414.8 kB / 1.119 GB, free: 5.832 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/0.821, allocations: 31.94 kB / 1.119 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.8221, allocations: 109.5 kB / 1.119 GB, free: 5.695 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000288/0.8224, allocations: 113.1 kB / 1.119 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/0.8225, allocations: 55.95 kB / 1.119 GB, free: 5.527 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00121/0.8237, allocations: 0.6386 MB / 1.12 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8237, allocations: 0 / 1.12 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001401/0.8251, allocations: 466.6 kB / 1.12 GB, free: 4.422 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001463/0.8266, allocations: 0.6028 MB / 1.121 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002484/0.8291, allocations: 1.232 MB / 1.122 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8291, allocations: 4 kB / 1.122 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.8304, allocations: 0.7402 MB / 1.123 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.8318, allocations: 261.6 kB / 1.123 GB, free: 1.742 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006079/0.8378, allocations: 3.324 MB / 1.126 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009192/0.8388, allocations: 1.27 MB / 1.127 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001262/0.8401, allocations: 337.8 kB / 1.128 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/0.8406, allocations: 155.3 kB / 1.128 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of SimCode: time 1.092e-06/0.8406, allocations: 0 / 1.128 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of Templates: time 0.03249/0.8731, allocations: 19.04 MB / 1.146 GB, free: 9.723 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches