Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 98.77 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.001487/0.001487, allocations: 177.3 kB / 15.94 MB, free: 228 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.291/1.291, allocations: 223.2 MB / 239.9 MB, free: 5.23 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.276/2.276, allocations: 390.3 MB / 0.6653 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003402, allocations: 12 kB / 0.8145 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6325/0.6329, allocations: 142.3 MB / 0.9535 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.004507/0.6375, allocations: 4.469 MB / 0.9579 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1407/0.7782, allocations: 127.9 MB / 1.083 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.7793, allocations: 15.94 kB / 1.083 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004489/0.7798, allocations: 95.06 kB / 1.083 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.7817, allocations: 0.61 MB / 1.084 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.7837, allocations: 0.7428 MB / 1.084 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001575/0.7853, allocations: 1.09 MB / 1.085 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.7864, allocations: 0.931 MB / 1.086 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006406/0.787, allocations: 0.4977 MB / 1.087 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005793/0.7876, allocations: 0.5089 MB / 1.087 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.7877, allocations: 36 kB / 1.087 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008609/0.7886, allocations: 323.6 kB / 1.088 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000274/0.7889, allocations: 250.9 kB / 1.088 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002581/0.7892, allocations: 304.8 kB / 1.088 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.7909, allocations: 1.89 MB / 1.09 GB, free: 4.086 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.7909, allocations: 0 / 1.09 GB, free: 4.086 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7909, allocations: 4 kB / 1.09 GB, free: 4.082 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.714e-05/0.7909, allocations: 0 / 1.09 GB, free: 4.082 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003251/0.7942, allocations: 1.667 MB / 1.092 GB, free: 2.363 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.7942, allocations: 8.031 kB / 1.092 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009971/0.7952, allocations: 265.6 kB / 1.092 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.7966, allocations: 0.9382 MB / 1.093 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.7968, allocations: 152.8 kB / 1.093 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.7969, allocations: 148 kB / 1.093 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/0.7995, allocations: 1.573 MB / 1.095 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.7995, allocations: 7.938 kB / 1.095 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/0.7997, allocations: 68 kB / 1.095 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-05/0.7997, allocations: 36 kB / 1.095 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002508/0.8022, allocations: 1.596 MB / 1.096 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006427/0.8087, allocations: 4.276 MB / 1.1 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.8105, allocations: 1.093 MB / 1.101 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.982e-05/0.8106, allocations: 40.94 kB / 1.101 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/0.8118, allocations: 0.6958 MB / 1.102 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=111): time 2.585e-06/0.8118, allocations: 4 kB / 1.102 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of matching and sorting (n=111): time 0.003734/0.8155, allocations: 1.66 MB / 1.104 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.79e-05/0.8156, allocations: 196.9 kB / 1.104 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009871/0.8166, allocations: 0.8339 MB / 1.105 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.139e-05/0.8167, allocations: 49.7 kB / 1.105 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/0.8172, allocations: 0.6128 MB / 1.105 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/0.8175, allocations: 354.9 kB / 1.106 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.8175, allocations: 20 kB / 1.106 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.8177, allocations: 353.9 kB / 1.106 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006784/0.8184, allocations: 374.4 kB / 1.106 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007799/0.8191, allocations: 0.5023 MB / 1.107 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007732/0.8199, allocations: 426.9 kB / 1.107 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8199, allocations: 4 kB / 1.107 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002308/0.8222, allocations: 1.145 MB / 1.109 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.8223, allocations: 5.094 kB / 1.109 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.8223, allocations: 4 kB / 1.109 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005914/0.8229, allocations: 80.84 kB / 1.109 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009434/0.8238, allocations: 223.6 kB / 1.109 GB, free: 300 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.8258, allocations: 1.551 MB / 1.11 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009265/0.8267, allocations: 152.7 kB / 1.11 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-05/0.8268, allocations: 47.95 kB / 1.111 GB, free: 14.41 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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.HDirRoo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * 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.0005917/0.8274, allocations: 347.7 kB / 1.111 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.8276, allocations: 114.6 kB / 1.111 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/0.8307, allocations: 1.563 MB / 1.112 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.8308, allocations: 19.94 kB / 1.112 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.8308, allocations: 0 / 1.112 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.8308, allocations: 3.984 kB / 1.113 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.8323, allocations: 1.376 MB / 1.114 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.8323, allocations: 4 kB / 1.114 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008344/0.8331, allocations: 203.6 kB / 1.114 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005142/0.8337, allocations: 84.77 kB / 1.114 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.282e-05/0.8338, allocations: 35.97 kB / 1.114 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/0.8355, allocations: 1.571 MB / 1.116 GB, free: 8.883 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8355, allocations: 4.062 kB / 1.116 GB, free: 8.879 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/0.8379, allocations: 1.285 MB / 1.117 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000507/0.8384, allocations: 387 kB / 1.117 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.8386, allocations: 24.06 kB / 1.117 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009055/0.8395, allocations: 111.8 kB / 1.117 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.8397, allocations: 105.2 kB / 1.118 GB, free: 6.941 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.275e-05/0.8398, allocations: 47.97 kB / 1.118 GB, free: 6.895 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007565/0.8405, allocations: 0.6137 MB / 1.118 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8405, allocations: 0 / 1.118 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009741/0.8415, allocations: 434.6 kB / 1.119 GB, free: 5.844 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001272/0.8428, allocations: 0.6107 MB / 1.119 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002005/0.8448, allocations: 1.117 MB / 1.12 GB, free: 4.27 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.8448, allocations: 0 / 1.12 GB, free: 4.27 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.8459, allocations: 0.6779 MB / 1.121 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.847, allocations: 266.1 kB / 1.121 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005155/0.8522, allocations: 3.231 MB / 1.124 GB, free: 72 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007298/0.8529, allocations: 1.254 MB / 1.126 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001018/0.854, allocations: 320.9 kB / 1.126 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/0.8543, allocations: 143.4 kB / 1.126 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of SimCode: time 4.9e-07/0.8543, allocations: 0 / 1.126 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of Templates: time 0.02813/0.8825, allocations: 17.96 MB / 1.144 GB, free: 12.54 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches