Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002265/0.002265, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.274/2.274, allocations: 390.2 MB / 0.6646 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 71.88 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6601/0.6614, allocations: 140.4 MB / 0.9496 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005632/0.667, allocations: 4.278 MB / 0.9538 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1764/0.8435, allocations: 150.5 MB / 1.101 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000914/0.8444, allocations: 19.88 kB / 1.101 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.8451, allocations: 174.4 kB / 1.101 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.8468, allocations: 0.4907 MB / 1.101 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.8487, allocations: 0.8208 MB / 1.102 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001252/0.8499, allocations: 1.273 MB / 1.103 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008208/0.8508, allocations: 0.61 MB / 1.104 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005698/0.8513, allocations: 462.4 kB / 1.105 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004844/0.8518, allocations: 489.8 kB / 1.105 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.852, allocations: 112 kB / 1.105 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008019/0.8528, allocations: 455.6 kB / 1.106 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.8531, allocations: 291.1 kB / 1.106 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004207/0.8535, allocations: 0.5323 MB / 1.106 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.855, allocations: 1.546 MB / 1.108 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.855, allocations: 3.844 kB / 1.108 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.014e-06/0.855, allocations: 0 / 1.108 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.595e-05/0.8551, allocations: 0 / 1.108 GB, free: 15.21 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002218/0.8573, allocations: 1.395 MB / 1.109 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.8574, allocations: 8.031 kB / 1.109 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008734/0.8582, allocations: 183.4 kB / 1.109 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009072/0.8592, allocations: 0.7461 MB / 1.11 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.589e-05/0.8592, allocations: 58 kB / 1.11 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.464e-05/0.8593, allocations: 76 kB / 1.11 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.8607, allocations: 0.9105 MB / 1.111 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.8607, allocations: 0 / 1.111 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.853e-05/0.8608, allocations: 36 kB / 1.111 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.8608, allocations: 23.98 kB / 1.111 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.8625, allocations: 1.097 MB / 1.112 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00353/0.866, allocations: 2.464 MB / 1.115 GB, free: 8.023 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.8675, allocations: 0.8561 MB / 1.115 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004921/0.868, allocations: 298.7 kB / 1.116 GB, free: 6.844 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.157e-05/0.8681, allocations: 32.61 kB / 1.116 GB, free: 6.812 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008842/0.8689, allocations: 491.1 kB / 1.116 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 2.164e-06/0.869, allocations: 0 / 1.116 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.002994/0.872, allocations: 1.17 MB / 1.117 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.896e-05/0.8721, allocations: 188.6 kB / 1.118 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007467/0.8728, allocations: 0.6253 MB / 1.118 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.8729, allocations: 41.7 kB / 1.118 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/0.8732, allocations: 396.2 kB / 1.119 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.8735, allocations: 256.4 kB / 1.119 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/0.8738, allocations: 162.5 kB / 1.119 GB, free: 3.395 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002287/0.874, allocations: 386.7 kB / 1.119 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005211/0.8745, allocations: 261.8 kB / 1.12 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000649/0.8752, allocations: 363.1 kB / 1.12 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.8763, allocations: 0.5916 MB / 1.121 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.8763, allocations: 0 / 1.121 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001855/0.8782, allocations: 0.8333 MB / 1.121 GB, free: 0.9375 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.8782, allocations: 8 kB / 1.121 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.8782, allocations: 0 / 1.121 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005876/0.8788, allocations: 88.73 kB / 1.121 GB, free: 0.8398 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/0.8795, allocations: 155.8 kB / 1.122 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.8815, allocations: 1.63 MB / 1.123 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007136/0.8823, allocations: 93.03 kB / 1.123 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.595e-05/0.8823, allocations: 31.97 kB / 1.123 GB, free: 14.79 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0004381/0.8828, allocations: 275.4 kB / 1.124 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.8829, allocations: 82.97 kB / 1.124 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/0.8853, allocations: 1.046 MB / 1.125 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.8853, allocations: 8 kB / 1.125 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.8853, allocations: 4 kB / 1.125 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.8853, allocations: 7.969 kB / 1.125 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/0.8884, allocations: 1.91 MB / 1.127 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.8885, allocations: 0 / 1.127 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005407/0.889, allocations: 139.8 kB / 1.127 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004349/0.8894, allocations: 72.78 kB / 1.127 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.413e-05/0.8895, allocations: 23.98 kB / 1.127 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.8915, allocations: 1.666 MB / 1.128 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8915, allocations: 0 / 1.128 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.8935, allocations: 0.9843 MB / 1.129 GB, free: 8.324 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003667/0.8939, allocations: 267.8 kB / 1.13 GB, free: 8.043 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.894, allocations: 19.94 kB / 1.13 GB, free: 8.023 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006201/0.8947, allocations: 61.91 kB / 1.13 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.8948, allocations: 68.89 kB / 1.13 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.987e-05/0.8949, allocations: 35.98 kB / 1.13 GB, free: 7.859 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000613/0.8955, allocations: 459 kB / 1.13 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8956, allocations: 0 / 1.13 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001019/0.8966, allocations: 307.2 kB / 1.131 GB, free: 7.113 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001604/0.8982, allocations: 0.6004 MB / 1.131 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002487/0.9007, allocations: 1.019 MB / 1.132 GB, free: 5.656 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.9007, allocations: 3.938 kB / 1.132 GB, free: 5.652 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008953/0.9016, allocations: 0.512 MB / 1.133 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.9029, allocations: 283.8 kB / 1.133 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.9066, allocations: 1.745 MB / 1.135 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.9072, allocations: 1.015 MB / 1.136 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007872/0.908, allocations: 262.4 kB / 1.136 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.9083, allocations: 107.4 kB / 1.136 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of SimCode: time 7.21e-07/0.9083, allocations: 4 kB / 1.136 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of Templates: time 0.02394/0.9322, allocations: 14.54 MB / 1.15 GB, free: 3.309 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches