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.007603/0.007604, allocations: 100.6 kB / 15.73 MB, free: 6.484 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.001958/0.001958, allocations: 192.2 kB / 16.68 MB, free: 6.367 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.557/2.557, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.89 kB / 1.019 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2935, allocations: 151.6 MB / 1.167 GB, free: 6.996 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007245/0.3008, allocations: 4.974 MB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8207/1.122, allocations: 150.8 MB / 1.319 GB, free: 10.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/1.123, allocations: 15.41 kB / 1.319 GB, free: 10.24 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007486/1.123, allocations: 195.4 kB / 1.319 GB, free: 10.13 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002234/1.126, allocations: 0.5863 MB / 1.319 GB, free: 9.879 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002265/1.128, allocations: 0.8438 MB / 1.32 GB, free: 9.723 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002126/1.13, allocations: 1.459 MB / 1.322 GB, free: 9.449 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009931/1.131, allocations: 0.5896 MB / 1.322 GB, free: 9.297 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009377/1.132, allocations: 0.5105 MB / 1.323 GB, free: 9.188 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007112/1.133, allocations: 0.5324 MB / 1.323 GB, free: 9.051 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001897/1.133, allocations: 120.8 kB / 1.323 GB, free: 9.051 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/1.134, allocations: 494.1 kB / 1.324 GB, free: 9.016 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003296/1.134, allocations: 309.2 kB / 1.324 GB, free: 8.867 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006007/1.135, allocations: 0.5822 MB / 1.325 GB, free: 8.48 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00245/1.138, allocations: 1.692 MB / 1.326 GB, free: 7.762 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.138, allocations: 5.281 kB / 1.326 GB, free: 7.758 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.074e-06/1.138, allocations: 0 / 1.326 GB, free: 7.758 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.031e-05/1.138, allocations: 1.406 kB / 1.326 GB, free: 7.758 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.003062/1.141, allocations: 1.511 MB / 1.328 GB, free: 6.73 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/1.141, allocations: 9.812 kB / 1.328 GB, free: 6.73 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/1.142, allocations: 196.3 kB / 1.328 GB, free: 6.66 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/1.143, allocations: 0.7922 MB / 1.329 GB, free: 6.145 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.743e-05/1.143, allocations: 69.12 kB / 1.329 GB, free: 6.113 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/1.144, allocations: 84.97 kB / 1.329 GB, free: 6.086 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/1.146, allocations: 0.9664 MB / 1.33 GB, free: 5.648 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/1.146, allocations: 1.594 kB / 1.33 GB, free: 5.648 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.42e-05/1.146, allocations: 36 kB / 1.33 GB, free: 5.621 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/1.146, allocations: 21.75 kB / 1.33 GB, free: 5.621 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/1.148, allocations: 1.164 MB / 1.331 GB, free: 5.344 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.004898/1.153, allocations: 2.868 MB / 1.334 GB, free: 3.613 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/1.155, allocations: 0.849 MB / 1.335 GB, free: 3.289 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005834/1.155, allocations: 327.1 kB / 1.335 GB, free: 3.168 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-05/1.155, allocations: 34.7 kB / 1.335 GB, free: 3.156 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009665/1.156, allocations: 0.5282 MB / 1.336 GB, free: 2.945 MB / 1.014 GB Notification: Performance of pre-optimization done (n=88): time 3.125e-06/1.156, allocations: 3.938 kB / 1.336 GB, free: 2.941 MB / 1.014 GB Notification: Performance of matching and sorting (n=88): time 0.003688/1.16, allocations: 1.293 MB / 1.337 GB, free: 2.406 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.16, allocations: 194.4 kB / 1.337 GB, free: 2.184 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009609/1.161, allocations: 0.6594 MB / 1.338 GB, free: 1.887 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.861e-05/1.161, allocations: 44.67 kB / 1.338 GB, free: 1.844 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/1.162, allocations: 408.9 kB / 1.338 GB, free: 1.523 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002666/1.162, allocations: 301.7 kB / 1.338 GB, free: 1.285 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/1.162, allocations: 185.3 kB / 1.339 GB, free: 1.199 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001871/1.162, allocations: 392.4 kB / 1.339 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005885/1.163, allocations: 289.2 kB / 1.339 GB, free: 0.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007151/1.164, allocations: 389.2 kB / 1.34 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/1.165, allocations: 0.6603 MB / 1.34 GB, free: 288 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.165, allocations: 0 / 1.34 GB, free: 288 kB / 1.014 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002195/1.167, allocations: 0.9182 MB / 1.341 GB, free: 15.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/1.167, allocations: 7.281 kB / 1.341 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/1.167, allocations: 7.062 kB / 1.341 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000592/1.168, allocations: 91.53 kB / 1.341 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007478/1.168, allocations: 181.4 kB / 1.341 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/1.171, allocations: 1.623 MB / 1.343 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008862/1.172, allocations: 101.3 kB / 1.343 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.809e-05/1.172, allocations: 41.73 kB / 1.343 GB, free: 14.27 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.000503/1.172, allocations: 276.9 kB / 1.343 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/1.172, allocations: 92.38 kB / 1.344 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/1.175, allocations: 1.166 MB / 1.345 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/1.175, allocations: 17.5 kB / 1.345 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.175, allocations: 0.9688 kB / 1.345 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/1.175, allocations: 6.703 kB / 1.345 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/1.176, allocations: 0.9398 MB / 1.346 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.176, allocations: 0 / 1.346 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006499/1.177, allocations: 161.9 kB / 1.346 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004257/1.178, allocations: 76.19 kB / 1.346 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.874e-05/1.178, allocations: 28.28 kB / 1.346 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/1.18, allocations: 1.656 MB / 1.348 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.18, allocations: 4 kB / 1.348 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/1.182, allocations: 1.003 MB / 1.349 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005423/1.182, allocations: 282.7 kB / 1.349 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/1.183, allocations: 26.02 kB / 1.349 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006684/1.183, allocations: 73.73 kB / 1.349 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/1.183, allocations: 79.44 kB / 1.349 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-05/1.183, allocations: 39.06 kB / 1.349 GB, free: 10.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000717/1.184, allocations: 478.8 kB / 1.349 GB, free: 10.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.2e-07/1.184, allocations: 0 / 1.349 GB, free: 10.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001158/1.185, allocations: 341 kB / 1.35 GB, free: 10.45 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.001376/1.187, allocations: 0.6106 MB / 1.35 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001939/1.189, allocations: 0.8949 MB / 1.351 GB, free: 9.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.189, allocations: 1.438 kB / 1.351 GB, free: 9.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/1.19, allocations: 0.5509 MB / 1.352 GB, free: 9.562 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/1.191, allocations: 303.7 kB / 1.352 GB, free: 9.469 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/1.194, allocations: 1.742 MB / 1.354 GB, free: 8.574 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005777/1.195, allocations: 1.039 MB / 1.355 GB, free: 7.844 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008302/1.196, allocations: 276.2 kB / 1.355 GB, free: 7.762 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/1.196, allocations: 116.3 kB / 1.355 GB, free: 7.738 MB / 1.029 GB Notification: Performance of SimCode: time 8.52e-07/1.196, allocations: 3.938 kB / 1.355 GB, free: 7.734 MB / 1.029 GB Notification: Performance of Templates: time 0.02701/1.223, allocations: 16.1 MB / 1.371 GB, free: 15.93 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