Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 102.8 kB / 16.27 MB, free: 6.414 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.001465/0.001465, allocations: 191 kB / 17.2 MB, free: 5.953 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.621/2.621, allocations: 469.4 MB / 0.7427 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001537, allocations: 60.53 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3981, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.01111/0.4093, allocations: 4.92 MB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.8527/1.262, allocations: 150.6 MB / 1.216 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/1.263, allocations: 15.19 kB / 1.216 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009012/1.264, allocations: 191.1 kB / 1.216 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002505/1.267, allocations: 0.5572 MB / 1.217 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00256/1.269, allocations: 0.8436 MB / 1.218 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00238/1.272, allocations: 1.415 MB / 1.219 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/1.273, allocations: 0.5932 MB / 1.22 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/1.274, allocations: 0.4916 MB / 1.22 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/1.275, allocations: 0.5202 MB / 1.221 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003492/1.276, allocations: 118.2 kB / 1.221 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/1.277, allocations: 471.4 kB / 1.221 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000404/1.277, allocations: 303.5 kB / 1.221 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009583/1.278, allocations: 0.5721 MB / 1.222 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002754/1.281, allocations: 1.62 MB / 1.224 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.281, allocations: 0 / 1.224 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.382e-06/1.281, allocations: 0 / 1.224 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.126e-05/1.281, allocations: 0 / 1.224 GB, free: 4.02 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003765/1.285, allocations: 1.462 MB / 1.225 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.285, allocations: 15.09 kB / 1.225 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/1.286, allocations: 183.2 kB / 1.225 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/1.288, allocations: 0.756 MB / 1.226 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.3e-05/1.288, allocations: 69.3 kB / 1.226 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/1.288, allocations: 89 kB / 1.226 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/1.289, allocations: 0.94 MB / 1.227 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/1.29, allocations: 0 / 1.227 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/1.29, allocations: 37.78 kB / 1.227 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/1.29, allocations: 20.06 kB / 1.227 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/1.292, allocations: 1.125 MB / 1.228 GB, free: 0.9258 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004856/1.296, allocations: 2.744 MB / 1.231 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/1.298, allocations: 0.9169 MB / 1.232 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005574/1.299, allocations: 310.7 kB / 1.232 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.166e-05/1.299, allocations: 36.62 kB / 1.232 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009812/1.3, allocations: 0.5156 MB / 1.233 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=84): time 3.376e-06/1.3, allocations: 0 / 1.233 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of matching and sorting (n=84): time 0.003553/1.303, allocations: 1.255 MB / 1.234 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/1.304, allocations: 196.9 kB / 1.234 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/1.305, allocations: 0.6371 MB / 1.235 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.568e-05/1.305, allocations: 45.7 kB / 1.235 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004192/1.305, allocations: 396.4 kB / 1.235 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/1.305, allocations: 276.1 kB / 1.235 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002926/1.306, allocations: 170.5 kB / 1.236 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001933/1.306, allocations: 386.7 kB / 1.236 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005773/1.306, allocations: 277.8 kB / 1.236 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007043/1.307, allocations: 379.1 kB / 1.236 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/1.308, allocations: 0.6242 MB / 1.237 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/1.308, allocations: 4 kB / 1.237 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002278/1.311, allocations: 0.8822 MB / 1.238 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/1.311, allocations: 4 kB / 1.238 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.311, allocations: 4 kB / 1.238 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006235/1.311, allocations: 84.8 kB / 1.238 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006953/1.312, allocations: 167.8 kB / 1.238 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/1.314, allocations: 1.632 MB / 1.24 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000926/1.315, allocations: 96.08 kB / 1.24 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/1.316, allocations: 39.97 kB / 1.24 GB, free: 4.551 MB / 0.9512 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 (99): * Single equations (assignments): 98 * 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.0006011/1.316, allocations: 267.8 kB / 1.24 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/1.316, allocations: 82.97 kB / 1.24 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/1.319, allocations: 1.138 MB / 1.241 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/1.319, allocations: 8 kB / 1.241 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.319, allocations: 7.938 kB / 1.241 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/1.319, allocations: 7.969 kB / 1.241 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003871/1.323, allocations: 2.012 MB / 1.243 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/1.323, allocations: 0 / 1.243 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006097/1.324, allocations: 155.7 kB / 1.244 GB, free: 0.7969 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004771/1.324, allocations: 76.72 kB / 1.244 GB, free: 0.7188 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.944e-05/1.324, allocations: 31.97 kB / 1.244 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/1.326, allocations: 1.665 MB / 1.245 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.326, allocations: 0 / 1.245 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/1.329, allocations: 1.047 MB / 1.246 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000586/1.33, allocations: 279.7 kB / 1.247 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/1.33, allocations: 20 kB / 1.247 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008/1.331, allocations: 70.03 kB / 1.247 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/1.331, allocations: 76.89 kB / 1.247 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.487e-05/1.331, allocations: 39.97 kB / 1.247 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007285/1.332, allocations: 463 kB / 1.247 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.71e-07/1.332, allocations: 0 / 1.247 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001152/1.333, allocations: 331.2 kB / 1.247 GB, free: 12.55 MB / 0.9669 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 (99): * Single equations (assignments): 92 * 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.001578/1.334, allocations: 0.6084 MB / 1.248 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002841/1.337, allocations: 1.078 MB / 1.249 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.337, allocations: 4 kB / 1.249 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/1.338, allocations: 0.5393 MB / 1.25 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/1.34, allocations: 308.1 kB / 1.25 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003686/1.344, allocations: 1.758 MB / 1.252 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008092/1.344, allocations: 1.028 MB / 1.253 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004706/1.345, allocations: 127.4 kB / 1.253 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of SimCode: time 9.82e-07/1.345, allocations: 0 / 1.253 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of Templates: time 0.0298/1.375, allocations: 18.92 MB / 1.271 GB, free: 4.355 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches