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.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.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.001427/0.001427, allocations: 110.3 kB / 15.99 MB, free: 6.355 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.001446/0.001446, allocations: 194 kB / 16.91 MB, free: 6.191 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.333/1.333, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.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.156/2.156, allocations: 390.2 MB / 0.665 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 60.77 kB / 0.8127 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3277, allocations: 140.4 MB / 0.9498 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007165/0.3349, allocations: 4.512 MB / 0.9542 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6938/1.029, allocations: 148.5 MB / 1.099 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009388/1.03, allocations: 17.88 kB / 1.099 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006257/1.03, allocations: 141 kB / 1.099 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001761/1.032, allocations: 466.1 kB / 1.1 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/1.034, allocations: 0.7865 MB / 1.101 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001941/1.036, allocations: 1.379 MB / 1.102 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/1.037, allocations: 0.6406 MB / 1.102 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/1.038, allocations: 0.5089 MB / 1.103 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008845/1.039, allocations: 0.5225 MB / 1.103 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002493/1.04, allocations: 124 kB / 1.104 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/1.041, allocations: 494.4 kB / 1.104 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003377/1.041, allocations: 309.2 kB / 1.104 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007793/1.042, allocations: 0.5774 MB / 1.105 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/1.044, allocations: 1.261 MB / 1.106 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.044, allocations: 0 / 1.106 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.874e-06/1.044, allocations: 5 kB / 1.106 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.88e-05/1.044, allocations: 1.688 kB / 1.106 GB, free: 4.492 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.003578/1.048, allocations: 1.48 MB / 1.108 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/1.048, allocations: 8.375 kB / 1.108 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/1.049, allocations: 196.2 kB / 1.108 GB, free: 19.63 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/1.05, allocations: 0.7685 MB / 1.109 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/1.05, allocations: 67.69 kB / 1.109 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/1.051, allocations: 85.98 kB / 1.109 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/1.053, allocations: 0.9807 MB / 1.11 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/1.053, allocations: 0 / 1.11 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.112e-05/1.053, allocations: 38.11 kB / 1.11 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/1.053, allocations: 22.19 kB / 1.11 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/1.055, allocations: 1.162 MB / 1.111 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005427/1.06, allocations: 2.703 MB / 1.114 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/1.063, allocations: 0.9753 MB / 1.114 GB, free: 18.13 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006461/1.063, allocations: 332.3 kB / 1.115 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-05/1.063, allocations: 35.77 kB / 1.115 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00122/1.065, allocations: 0.5411 MB / 1.115 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 3.818e-06/1.065, allocations: 1.312 kB / 1.115 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.003651/1.068, allocations: 1.282 MB / 1.117 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/1.069, allocations: 200.2 kB / 1.117 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/1.07, allocations: 0.6462 MB / 1.117 GB, free: 17.47 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001661/1.07, allocations: 42.08 kB / 1.117 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/1.07, allocations: 417.6 kB / 1.118 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/1.071, allocations: 283.3 kB / 1.118 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000349/1.071, allocations: 185.7 kB / 1.118 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002115/1.071, allocations: 389.4 kB / 1.119 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006001/1.072, allocations: 287.3 kB / 1.119 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006836/1.073, allocations: 391.3 kB / 1.119 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/1.074, allocations: 0.6488 MB / 1.12 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.074, allocations: 5.406 kB / 1.12 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002315/1.076, allocations: 0.9098 MB / 1.121 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/1.076, allocations: 9.625 kB / 1.121 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/1.076, allocations: 2.469 kB / 1.121 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006401/1.077, allocations: 83.47 kB / 1.121 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007616/1.078, allocations: 175.4 kB / 1.121 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/1.08, allocations: 1.636 MB / 1.123 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/1.081, allocations: 112.5 kB / 1.123 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/1.081, allocations: 37.64 kB / 1.123 GB, free: 15.04 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: 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.0006263/1.082, allocations: 273.6 kB / 1.123 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003565/1.082, allocations: 86.67 kB / 1.123 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002915/1.085, allocations: 1.194 MB / 1.124 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/1.085, allocations: 11.42 kB / 1.124 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.085, allocations: 5.203 kB / 1.124 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/1.085, allocations: 5.25 kB / 1.124 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004017/1.089, allocations: 2.102 MB / 1.126 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/1.089, allocations: 0 / 1.126 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006758/1.09, allocations: 171.4 kB / 1.127 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004711/1.09, allocations: 73.2 kB / 1.127 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.085e-05/1.09, allocations: 32.92 kB / 1.127 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/1.092, allocations: 1.654 MB / 1.128 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.092, allocations: 0 / 1.128 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/1.095, allocations: 1.088 MB / 1.129 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005923/1.096, allocations: 292.6 kB / 1.13 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002906/1.096, allocations: 27.69 kB / 1.13 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008803/1.097, allocations: 64.92 kB / 1.13 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/1.097, allocations: 82.22 kB / 1.13 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/1.097, allocations: 37.77 kB / 1.13 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009136/1.098, allocations: 474 kB / 1.13 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.098, allocations: 6.562 kB / 1.13 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001459/1.1, allocations: 341.3 kB / 1.131 GB, free: 12.39 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: 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.001806/1.101, allocations: 0.6284 MB / 1.131 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003148/1.104, allocations: 1.13 MB / 1.132 GB, free: 12 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.105, allocations: 0 / 1.132 GB, free: 12 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/1.106, allocations: 0.5614 MB / 1.133 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/1.108, allocations: 298.8 kB / 1.133 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005082/1.113, allocations: 2.351 MB / 1.135 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008732/1.114, allocations: 1.048 MB / 1.137 GB, free: 9.957 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006295/1.114, allocations: 130.3 kB / 1.137 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of SimCode: time 1.553e-06/1.114, allocations: 0 / 1.137 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of Templates: time 0.03243/1.147, allocations: 19.38 MB / 1.156 GB, free: 3.52 MB / 0.8731 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