Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009619/0.0009623, allocations: 92.55 kB / 16.02 MB, free: 80 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.001908/0.001908, allocations: 184.6 kB / 16.92 MB, free: 6.922 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.353/1.353, allocations: 223.3 MB / 241 MB, free: 5.324 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.376/2.376, allocations: 390.9 MB / 0.667 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003885, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7083/0.7087, allocations: 142.4 MB / 0.9557 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.00442/0.7132, allocations: 4.087 MB / 0.9597 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.166/0.8793, allocations: 146.8 MB / 1.103 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009773/0.8803, allocations: 15.94 kB / 1.103 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007209/0.881, allocations: 138.9 kB / 1.103 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.8829, allocations: 456.2 kB / 1.104 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.8851, allocations: 0.7607 MB / 1.104 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001727/0.8868, allocations: 1.289 MB / 1.106 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.888, allocations: 0.6055 MB / 1.106 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007455/0.8887, allocations: 370.2 kB / 1.107 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007549/0.8895, allocations: 413.7 kB / 1.107 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002154/0.8897, allocations: 28 kB / 1.107 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.8908, allocations: 395.7 kB / 1.107 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003194/0.8911, allocations: 199 kB / 1.108 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006583/0.8918, allocations: 486.7 kB / 1.108 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.8935, allocations: 1.223 MB / 1.109 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.8935, allocations: 0 / 1.109 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8935, allocations: 0 / 1.109 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.839e-05/0.8935, allocations: 0 / 1.109 GB, free: 1.582 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002915/0.8965, allocations: 1.257 MB / 1.11 GB, free: 284 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.8965, allocations: 12.03 kB / 1.11 GB, free: 272 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.8976, allocations: 203.3 kB / 1.111 GB, free: 68 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.899, allocations: 0.7701 MB / 1.111 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.533e-05/0.8991, allocations: 66 kB / 1.111 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.8993, allocations: 91.98 kB / 1.112 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.9012, allocations: 0.973 MB / 1.113 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.9012, allocations: 4 kB / 1.113 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.9013, allocations: 36 kB / 1.113 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.9014, allocations: 24 kB / 1.113 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.9033, allocations: 1.175 MB / 1.114 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004878/0.9082, allocations: 2.733 MB / 1.116 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/0.9104, allocations: 0.981 MB / 1.117 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006076/0.9111, allocations: 334.7 kB / 1.118 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.983e-05/0.9112, allocations: 28.69 kB / 1.118 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009896/0.9122, allocations: 0.5451 MB / 1.118 GB, free: 8.113 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 2.765e-06/0.9122, allocations: 0 / 1.118 GB, free: 8.113 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.003347/0.9155, allocations: 1.309 MB / 1.119 GB, free: 6.777 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.9157, allocations: 188.9 kB / 1.12 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009523/0.9166, allocations: 0.6528 MB / 1.12 GB, free: 5.891 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.584e-05/0.9167, allocations: 41.7 kB / 1.12 GB, free: 5.844 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/0.9171, allocations: 404.5 kB / 1.121 GB, free: 5.441 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/0.9173, allocations: 291.8 kB / 1.121 GB, free: 5.152 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.9175, allocations: 77.67 kB / 1.121 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.9176, allocations: 390.8 kB / 1.121 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006104/0.9182, allocations: 289.8 kB / 1.122 GB, free: 4.395 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006937/0.919, allocations: 399.1 kB / 1.122 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.9202, allocations: 0.6555 MB / 1.123 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.9202, allocations: 0 / 1.123 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002165/0.9224, allocations: 0.9229 MB / 1.124 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.9224, allocations: 4 kB / 1.124 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.9225, allocations: 4 kB / 1.124 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006348/0.9231, allocations: 80.84 kB / 1.124 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007396/0.9238, allocations: 183.8 kB / 1.124 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.9259, allocations: 1.53 MB / 1.125 GB, free: 464 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009023/0.9268, allocations: 116.7 kB / 1.126 GB, free: 348 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.413e-05/0.9269, allocations: 39.97 kB / 1.126 GB, free: 308 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: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (104): * Single equations (assignments): 103 * 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.0005156/0.9275, allocations: 279.9 kB / 1.126 GB, free: 16 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.9277, allocations: 83.02 kB / 1.126 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002757/0.9305, allocations: 1.203 MB / 1.127 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.9305, allocations: 19.94 kB / 1.127 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.9305, allocations: 0 / 1.127 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.9305, allocations: 3.984 kB / 1.127 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003744/0.9343, allocations: 2.103 MB / 1.129 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.9343, allocations: 3.938 kB / 1.129 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000661/0.935, allocations: 171.8 kB / 1.129 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005527/0.9355, allocations: 84.77 kB / 1.129 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-05/0.9356, allocations: 23.98 kB / 1.129 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.9375, allocations: 1.559 MB / 1.131 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.9375, allocations: 0 / 1.131 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/0.9398, allocations: 1.097 MB / 1.132 GB, free: 9.438 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005086/0.9404, allocations: 299.6 kB / 1.132 GB, free: 9.125 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/0.9405, allocations: 24 kB / 1.132 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000796/0.9413, allocations: 83.92 kB / 1.132 GB, free: 9.02 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.9415, allocations: 84.94 kB / 1.132 GB, free: 8.938 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-05/0.9416, allocations: 43.97 kB / 1.133 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006699/0.9423, allocations: 474.9 kB / 1.133 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9423, allocations: 0 / 1.133 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001042/0.9434, allocations: 343.2 kB / 1.133 GB, free: 8.098 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.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 (106): * Single equations (assignments): 99 * 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.001561/0.9449, allocations: 0.6329 MB / 1.134 GB, free: 7.645 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001951/0.9469, allocations: 0.9094 MB / 1.135 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.9469, allocations: 0 / 1.135 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.9481, allocations: 0.5667 MB / 1.135 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.9495, allocations: 267.2 kB / 1.136 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004744/0.9543, allocations: 2.42 MB / 1.138 GB, free: 3.438 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/0.955, allocations: 1.048 MB / 1.139 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/0.9554, allocations: 127.4 kB / 1.139 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of SimCode: time 6.71e-07/0.9554, allocations: 0 / 1.139 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of Templates: time 0.02792/0.9833, allocations: 19.26 MB / 1.158 GB, free: 15.03 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches