Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 105.2 kB / 15.98 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.00132/0.00132, allocations: 196.7 kB / 16.91 MB, free: 6.188 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.347/1.347, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.202/2.202, allocations: 390.3 MB / 0.665 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002449/0.00245, allocations: 60.91 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3508, allocations: 140.4 MB / 0.9498 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007419/0.3583, allocations: 4.321 MB / 0.954 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.8076/1.166, allocations: 148.3 MB / 1.099 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009369/1.167, allocations: 15.62 kB / 1.099 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006659/1.168, allocations: 140.5 kB / 1.099 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001807/1.169, allocations: 450.5 kB / 1.099 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/1.172, allocations: 0.7434 MB / 1.1 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001838/1.173, allocations: 1.29 MB / 1.101 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/1.174, allocations: 0.6274 MB / 1.102 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009454/1.175, allocations: 474.5 kB / 1.102 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007474/1.176, allocations: 0.4915 MB / 1.103 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001942/1.176, allocations: 119.7 kB / 1.103 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/1.178, allocations: 458.4 kB / 1.103 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003488/1.178, allocations: 299.8 kB / 1.104 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006515/1.179, allocations: 0.5397 MB / 1.104 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001956/1.181, allocations: 1.212 MB / 1.105 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.181, allocations: 0.8438 kB / 1.105 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.375e-06/1.181, allocations: 0.6562 kB / 1.105 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.012e-05/1.181, allocations: 0 / 1.105 GB, free: 5.055 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.00337/1.184, allocations: 1.41 MB / 1.107 GB, free: 20.3 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/1.184, allocations: 11.41 kB / 1.107 GB, free: 20.3 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/1.185, allocations: 182.2 kB / 1.107 GB, free: 20.24 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/1.187, allocations: 0.7396 MB / 1.108 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-05/1.187, allocations: 64.3 kB / 1.108 GB, free: 19.92 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/1.187, allocations: 78.19 kB / 1.108 GB, free: 19.92 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/1.189, allocations: 0.9234 MB / 1.109 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/1.189, allocations: 0 / 1.109 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.823e-05/1.189, allocations: 37.28 kB / 1.109 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/1.189, allocations: 21.03 kB / 1.109 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/1.191, allocations: 1.113 MB / 1.11 GB, free: 19.76 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004793/1.196, allocations: 2.522 MB / 1.112 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/1.198, allocations: 0.8903 MB / 1.113 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006118/1.198, allocations: 303.8 kB / 1.114 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.565e-05/1.199, allocations: 34.94 kB / 1.114 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/1.2, allocations: 0.4901 MB / 1.114 GB, free: 18.74 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 3.657e-06/1.2, allocations: 0 / 1.114 GB, free: 18.74 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.003471/1.203, allocations: 1.188 MB / 1.115 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/1.203, allocations: 193.4 kB / 1.115 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/1.204, allocations: 0.6266 MB / 1.116 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.465e-05/1.204, allocations: 45.78 kB / 1.116 GB, free: 18.15 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003584/1.205, allocations: 384.4 kB / 1.116 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/1.205, allocations: 260.7 kB / 1.117 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/1.205, allocations: 162.7 kB / 1.117 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000221/1.205, allocations: 389.6 kB / 1.117 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005884/1.206, allocations: 266.3 kB / 1.117 GB, free: 17.47 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/1.207, allocations: 363.1 kB / 1.118 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/1.208, allocations: 0.605 MB / 1.118 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.208, allocations: 1.125 kB / 1.118 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002196/1.21, allocations: 0.8484 MB / 1.119 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/1.21, allocations: 5.625 kB / 1.119 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/1.21, allocations: 5.188 kB / 1.119 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006985/1.211, allocations: 89.05 kB / 1.119 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/1.212, allocations: 161.3 kB / 1.119 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/1.214, allocations: 1.645 MB / 1.121 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008722/1.215, allocations: 89.34 kB / 1.121 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-05/1.215, allocations: 34.62 kB / 1.121 GB, free: 15.8 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: 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.0005989/1.215, allocations: 282.6 kB / 1.121 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/1.216, allocations: 86.25 kB / 1.122 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/1.218, allocations: 1.061 MB / 1.123 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/1.218, allocations: 7.812 kB / 1.123 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.218, allocations: 2.203 kB / 1.123 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/1.218, allocations: 10.36 kB / 1.123 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003462/1.222, allocations: 1.947 MB / 1.125 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/1.222, allocations: 4.469 kB / 1.125 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006108/1.222, allocations: 139.4 kB / 1.125 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004691/1.223, allocations: 75.12 kB / 1.125 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.393e-05/1.223, allocations: 22.94 kB / 1.125 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/1.225, allocations: 1.673 MB / 1.126 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/1.225, allocations: 3.281 kB / 1.126 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/1.227, allocations: 0.992 MB / 1.127 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/1.227, allocations: 273.5 kB / 1.128 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/1.228, allocations: 28.28 kB / 1.128 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006861/1.228, allocations: 56.11 kB / 1.128 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/1.228, allocations: 71.61 kB / 1.128 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.932e-05/1.229, allocations: 36.77 kB / 1.128 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006447/1.229, allocations: 459.2 kB / 1.128 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.229, allocations: 0 / 1.128 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001193/1.23, allocations: 301.9 kB / 1.129 GB, free: 13.19 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: 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.001473/1.232, allocations: 0.6065 MB / 1.129 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002523/1.234, allocations: 1.033 MB / 1.13 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/1.234, allocations: 1.5 kB / 1.13 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009262/1.235, allocations: 0.5125 MB / 1.131 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/1.237, allocations: 287.9 kB / 1.131 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004345/1.241, allocations: 2.202 MB / 1.133 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006565/1.242, allocations: 1.015 MB / 1.134 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004133/1.242, allocations: 117.1 kB / 1.134 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of SimCode: time 5.82e-07/1.242, allocations: 0 / 1.134 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of Templates: time 0.03119/1.273, allocations: 18.33 MB / 1.152 GB, free: 5.477 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches