Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001004, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.007383/0.007383, allocations: 171.8 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.46/2.46, allocations: 390.9 MB / 0.6663 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003848, allocations: 8 kB / 0.816 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6995/0.6999, allocations: 142.4 MB / 0.955 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004539/0.7044, allocations: 4.066 MB / 0.959 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1841/0.8886, allocations: 146.8 MB / 1.102 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.8896, allocations: 19.88 kB / 1.102 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006133/0.8902, allocations: 142.9 kB / 1.103 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001885/0.8921, allocations: 458.8 kB / 1.103 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.8942, allocations: 0.729 MB / 1.104 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001502/0.8958, allocations: 1.281 MB / 1.105 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009009/0.8967, allocations: 0.5959 MB / 1.106 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007096/0.8974, allocations: 366.2 kB / 1.106 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005785/0.898, allocations: 405.8 kB / 1.106 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.596e-05/0.8981, allocations: 35.98 kB / 1.106 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.8993, allocations: 371.6 kB / 1.107 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002417/0.8995, allocations: 203 kB / 1.107 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005174/0.9, allocations: 470.8 kB / 1.107 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.9017, allocations: 1.514 MB / 1.109 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.9017, allocations: 0 / 1.109 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9018, allocations: 0 / 1.109 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.9018, allocations: 0 / 1.109 GB, free: 1.453 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002466/0.9042, allocations: 1.25 MB / 1.11 GB, free: 160 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.9043, allocations: 8.031 kB / 1.11 GB, free: 152 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009741/0.9053, allocations: 207.4 kB / 1.11 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.9065, allocations: 0.7584 MB / 1.111 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.361e-05/0.9066, allocations: 66 kB / 1.111 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.9067, allocations: 84 kB / 1.111 GB, free: 15 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.9085, allocations: 0.9808 MB / 1.112 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.9085, allocations: 0 / 1.112 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-05/0.9086, allocations: 36 kB / 1.112 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.9086, allocations: 24 kB / 1.112 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.9106, allocations: 1.163 MB / 1.113 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004596/0.9152, allocations: 2.7 MB / 1.116 GB, free: 9.98 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.9168, allocations: 0.8589 MB / 1.117 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005916/0.9174, allocations: 322.7 kB / 1.117 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-05/0.9175, allocations: 36.67 kB / 1.117 GB, free: 8.758 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.9185, allocations: 0.5431 MB / 1.118 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 2.555e-06/0.9185, allocations: 0 / 1.118 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.003418/0.9219, allocations: 1.298 MB / 1.119 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.9221, allocations: 192.9 kB / 1.119 GB, free: 6.641 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009219/0.923, allocations: 0.6566 MB / 1.12 GB, free: 5.977 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.088e-05/0.9231, allocations: 45.7 kB / 1.12 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/0.9234, allocations: 404.4 kB / 1.12 GB, free: 5.523 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000248/0.9237, allocations: 283.9 kB / 1.12 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.9238, allocations: 77.67 kB / 1.12 GB, free: 5.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.924, allocations: 394.8 kB / 1.121 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000596/0.9246, allocations: 289.8 kB / 1.121 GB, free: 4.48 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006993/0.9253, allocations: 399.1 kB / 1.121 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.9267, allocations: 0.6633 MB / 1.122 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.9267, allocations: 0 / 1.122 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002249/0.929, allocations: 0.9307 MB / 1.123 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.929, allocations: 7.938 kB / 1.123 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.929, allocations: 8.047 kB / 1.123 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/0.9297, allocations: 80.78 kB / 1.123 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008164/0.9305, allocations: 179.7 kB / 1.123 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.9327, allocations: 1.522 MB / 1.125 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009178/0.9336, allocations: 108.8 kB / 1.125 GB, free: 428 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.306e-05/0.9337, allocations: 39.97 kB / 1.125 GB, free: 388 kB / 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: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000554/0.9343, allocations: 287.6 kB / 1.125 GB, free: 88 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.9345, allocations: 90.92 kB / 1.125 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/0.9371, allocations: 1.164 MB / 1.126 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.9371, allocations: 8 kB / 1.126 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.9371, allocations: 7.938 kB / 1.126 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.9372, allocations: 7.922 kB / 1.126 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.9385, allocations: 0.9384 MB / 1.127 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.9385, allocations: 0 / 1.127 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006399/0.9391, allocations: 155.8 kB / 1.128 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005616/0.9397, allocations: 88.75 kB / 1.128 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/0.9398, allocations: 31.97 kB / 1.128 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/0.9419, allocations: 1.548 MB / 1.129 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.9419, allocations: 0 / 1.129 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/0.9441, allocations: 1.01 MB / 1.13 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004434/0.9445, allocations: 303.5 kB / 1.13 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.9447, allocations: 19.98 kB / 1.13 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006999/0.9454, allocations: 81.91 kB / 1.131 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.9456, allocations: 84.88 kB / 1.131 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.293e-05/0.9456, allocations: 35.98 kB / 1.131 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007182/0.9464, allocations: 479 kB / 1.131 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9464, allocations: 0 / 1.131 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008836/0.9473, allocations: 327.2 kB / 1.131 GB, free: 9.5 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001403/0.9487, allocations: 0.6074 MB / 1.132 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001861/0.9505, allocations: 0.8976 MB / 1.133 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.9506, allocations: 4.188 kB / 1.133 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009918/0.9516, allocations: 0.5471 MB / 1.133 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.9529, allocations: 270.3 kB / 1.134 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/0.9572, allocations: 2.336 MB / 1.136 GB, free: 4.977 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006719/0.9579, allocations: 1.04 MB / 1.137 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000889/0.9588, allocations: 278.9 kB / 1.137 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/0.9591, allocations: 115.3 kB / 1.137 GB, free: 3.516 MB / 0.8887 GB Notification: Performance of SimCode: time 4.71e-07/0.9591, allocations: 0 / 1.137 GB, free: 3.516 MB / 0.8887 GB Notification: Performance of Templates: time 0.02687/0.986, allocations: 14.75 MB / 1.152 GB, free: 4.93 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches