Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008042/0.008042, allocations: 101.6 kB / 15.73 MB, free: 6.43 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.002168/0.002168, allocations: 191.8 kB / 16.67 MB, free: 6.336 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 59.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3104, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.00624/0.3167, allocations: 4.978 MB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8757/1.192, allocations: 150.8 MB / 1.319 GB, free: 10.05 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008563/1.193, allocations: 19.47 kB / 1.319 GB, free: 10.05 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006638/1.194, allocations: 187.1 kB / 1.319 GB, free: 9.945 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00189/1.196, allocations: 0.5739 MB / 1.319 GB, free: 9.688 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/1.198, allocations: 0.8487 MB / 1.32 GB, free: 9.527 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001768/1.2, allocations: 1.458 MB / 1.322 GB, free: 9.254 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009414/1.201, allocations: 0.584 MB / 1.322 GB, free: 9.105 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009527/1.202, allocations: 0.5106 MB / 1.323 GB, free: 8.992 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007533/1.202, allocations: 0.5315 MB / 1.323 GB, free: 8.855 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002099/1.203, allocations: 120.3 kB / 1.323 GB, free: 8.855 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/1.204, allocations: 492.6 kB / 1.324 GB, free: 8.82 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003338/1.204, allocations: 307.7 kB / 1.324 GB, free: 8.73 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000587/1.205, allocations: 0.581 MB / 1.325 GB, free: 8.344 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002585/1.207, allocations: 1.693 MB / 1.326 GB, free: 7.625 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.207, allocations: 5.344 kB / 1.326 GB, free: 7.621 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.014e-06/1.207, allocations: 0 / 1.326 GB, free: 7.621 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.817e-05/1.207, allocations: 0 / 1.326 GB, free: 7.621 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003224/1.211, allocations: 1.51 MB / 1.328 GB, free: 6.594 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/1.211, allocations: 10 kB / 1.328 GB, free: 6.594 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/1.212, allocations: 197.6 kB / 1.328 GB, free: 6.523 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/1.213, allocations: 0.7905 MB / 1.329 GB, free: 6.008 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.879e-05/1.213, allocations: 66.41 kB / 1.329 GB, free: 5.977 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/1.213, allocations: 88.41 kB / 1.329 GB, free: 5.949 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/1.215, allocations: 0.9616 MB / 1.33 GB, free: 5.516 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/1.215, allocations: 1.281 kB / 1.33 GB, free: 5.516 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-05/1.215, allocations: 38.12 kB / 1.33 GB, free: 5.488 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/1.215, allocations: 20.88 kB / 1.33 GB, free: 5.488 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/1.217, allocations: 1.164 MB / 1.331 GB, free: 5.211 MB / 1.014 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.004715/1.222, allocations: 2.87 MB / 1.334 GB, free: 3.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/1.224, allocations: 0.8461 MB / 1.335 GB, free: 3.16 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006493/1.225, allocations: 324.5 kB / 1.335 GB, free: 3.039 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.755e-05/1.225, allocations: 38.31 kB / 1.335 GB, free: 3.023 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009467/1.226, allocations: 0.5308 MB / 1.336 GB, free: 2.809 MB / 1.014 GB Notification: Performance of pre-optimization done (n=88): time 2.174e-06/1.226, allocations: 1.344 kB / 1.336 GB, free: 2.809 MB / 1.014 GB Notification: Performance of matching and sorting (n=88): time 0.003516/1.229, allocations: 1.295 MB / 1.337 GB, free: 2.27 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.229, allocations: 196.4 kB / 1.337 GB, free: 2.047 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008862/1.23, allocations: 0.6591 MB / 1.338 GB, free: 1.75 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.338e-05/1.23, allocations: 42.77 kB / 1.338 GB, free: 1.707 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/1.231, allocations: 410.8 kB / 1.338 GB, free: 1.387 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/1.231, allocations: 303.1 kB / 1.338 GB, free: 1.148 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002812/1.231, allocations: 179.9 kB / 1.339 GB, free: 1.066 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.231, allocations: 393.3 kB / 1.339 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005945/1.232, allocations: 289.9 kB / 1.339 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007176/1.233, allocations: 390 kB / 1.34 GB, free: 464 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/1.234, allocations: 0.6588 MB / 1.34 GB, free: 152 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/1.234, allocations: 1.094 kB / 1.34 GB, free: 152 kB / 1.014 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002254/1.236, allocations: 0.922 MB / 1.341 GB, free: 15.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.236, allocations: 11.66 kB / 1.341 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.236, allocations: 16.03 kB / 1.341 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005919/1.237, allocations: 79.67 kB / 1.341 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007447/1.238, allocations: 184.6 kB / 1.341 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/1.24, allocations: 1.628 MB / 1.343 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/1.241, allocations: 98.31 kB / 1.343 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.252e-05/1.241, allocations: 40.16 kB / 1.343 GB, free: 14.14 MB / 1.029 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 (105): * Single equations (assignments): 104 * 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.0005577/1.242, allocations: 281.3 kB / 1.343 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/1.242, allocations: 89.19 kB / 1.344 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002681/1.245, allocations: 1.17 MB / 1.345 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/1.245, allocations: 13.25 kB / 1.345 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/1.245, allocations: 1.25 kB / 1.345 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/1.245, allocations: 4.453 kB / 1.345 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/1.246, allocations: 0.9376 MB / 1.346 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/1.246, allocations: 0 / 1.346 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006216/1.246, allocations: 158.1 kB / 1.346 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004338/1.247, allocations: 76.11 kB / 1.346 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.588e-05/1.247, allocations: 27.81 kB / 1.346 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/1.249, allocations: 1.663 MB / 1.348 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.249, allocations: 1.125 kB / 1.348 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/1.251, allocations: 0.9991 MB / 1.348 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/1.252, allocations: 285.9 kB / 1.349 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/1.252, allocations: 28.97 kB / 1.349 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006876/1.253, allocations: 70.14 kB / 1.349 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/1.253, allocations: 78.22 kB / 1.349 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.745e-05/1.253, allocations: 40 kB / 1.349 GB, free: 10.62 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006794/1.254, allocations: 480.1 kB / 1.349 GB, free: 10.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.254, allocations: 0 / 1.349 GB, free: 10.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001167/1.255, allocations: 345.1 kB / 1.35 GB, free: 10.32 MB / 1.029 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * 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.001518/1.256, allocations: 0.6124 MB / 1.35 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002027/1.258, allocations: 0.891 MB / 1.351 GB, free: 9.691 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.258, allocations: 1.094 kB / 1.351 GB, free: 9.691 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/1.259, allocations: 0.5473 MB / 1.352 GB, free: 9.438 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/1.261, allocations: 303.1 kB / 1.352 GB, free: 9.344 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/1.264, allocations: 1.751 MB / 1.354 GB, free: 8.441 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/1.265, allocations: 1.038 MB / 1.355 GB, free: 7.711 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009353/1.266, allocations: 273.8 kB / 1.355 GB, free: 7.633 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/1.266, allocations: 114.6 kB / 1.355 GB, free: 7.609 MB / 1.029 GB Notification: Performance of SimCode: time 7.31e-07/1.266, allocations: 0 / 1.355 GB, free: 7.609 MB / 1.029 GB Notification: Performance of Templates: time 0.02797/1.294, allocations: 16.1 MB / 1.371 GB, free: 15.79 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches