Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007455/0.007455, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.001727/0.001728, allocations: 196.8 kB / 16.68 MB, free: 5.926 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.289/2.289, allocations: 437.1 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 64.12 kB / 1.018 GB, free: 9.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.797/0.7983, allocations: 151.6 MB / 1.166 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006361/0.8047, allocations: 4.805 MB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1585/0.9633, allocations: 150.6 MB / 1.318 GB, free: 7.797 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000914/0.9642, allocations: 23.81 kB / 1.318 GB, free: 7.773 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008084/0.965, allocations: 186.3 kB / 1.318 GB, free: 7.59 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002288/0.9674, allocations: 0.5439 MB / 1.319 GB, free: 7.047 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.9696, allocations: 0.8256 MB / 1.319 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001841/0.9715, allocations: 1.37 MB / 1.321 GB, free: 4.848 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.9726, allocations: 0.5792 MB / 1.321 GB, free: 4.242 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008534/0.9735, allocations: 478.4 kB / 1.322 GB, free: 3.773 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008048/0.9743, allocations: 0.494 MB / 1.322 GB, free: 3.277 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003053/0.9746, allocations: 112 kB / 1.322 GB, free: 3.168 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.9757, allocations: 487.5 kB / 1.323 GB, free: 2.691 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003742/0.9761, allocations: 287.1 kB / 1.323 GB, free: 2.41 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007934/0.9769, allocations: 0.5519 MB / 1.324 GB, free: 1.855 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.9792, allocations: 1.62 MB / 1.325 GB, free: 236 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.9793, allocations: 0 / 1.325 GB, free: 236 kB / 1.045 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9793, allocations: 0 / 1.325 GB, free: 236 kB / 1.045 GB Notification: Performance of Transformations before backend: time 5.679e-05/0.9793, allocations: 0 / 1.325 GB, free: 236 kB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003135/0.9825, allocations: 1.414 MB / 1.327 GB, free: 14.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.9825, allocations: 16.86 kB / 1.327 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002207/0.9828, allocations: 131.3 kB / 1.327 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000976/0.9838, allocations: 187.4 kB / 1.327 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.9851, allocations: 0.7422 MB / 1.328 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/0.9852, allocations: 61.98 kB / 1.328 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.9854, allocations: 91.88 kB / 1.328 GB, free: 13.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.987, allocations: 0.8989 MB / 1.329 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.9871, allocations: 0 / 1.329 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.002e-05/0.9872, allocations: 36 kB / 1.329 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.9872, allocations: 20 kB / 1.329 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.989, allocations: 1.1 MB / 1.33 GB, free: 11.4 MB / 1.061 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.004321/0.9933, allocations: 2.654 MB / 1.332 GB, free: 8.629 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.9949, allocations: 0.8639 MB / 1.333 GB, free: 7.746 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005373/0.9955, allocations: 294.7 kB / 1.334 GB, free: 7.457 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.393e-05/0.9956, allocations: 40.53 kB / 1.334 GB, free: 7.418 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008598/0.9965, allocations: 487.1 kB / 1.334 GB, free: 6.922 MB / 1.061 GB Notification: Performance of pre-optimization done (n=79): time 3.346e-06/0.9965, allocations: 0 / 1.334 GB, free: 6.922 MB / 1.061 GB Notification: Performance of matching and sorting (n=79): time 0.00319/0.9997, allocations: 1.182 MB / 1.335 GB, free: 5.711 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.9998, allocations: 188.6 kB / 1.335 GB, free: 5.484 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008827/1.001, allocations: 0.6215 MB / 1.336 GB, free: 4.855 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.973e-05/1.001, allocations: 41.7 kB / 1.336 GB, free: 4.809 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/1.001, allocations: 388.3 kB / 1.336 GB, free: 4.422 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/1.001, allocations: 260.3 kB / 1.337 GB, free: 4.164 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/1.002, allocations: 150.5 kB / 1.337 GB, free: 4.012 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000169/1.002, allocations: 390.7 kB / 1.337 GB, free: 3.621 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/1.002, allocations: 241.9 kB / 1.337 GB, free: 3.383 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005968/1.003, allocations: 354.6 kB / 1.338 GB, free: 3.012 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/1.004, allocations: 0.5759 MB / 1.338 GB, free: 2.426 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.004, allocations: 0 / 1.338 GB, free: 2.426 MB / 1.061 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001915/1.006, allocations: 0.7941 MB / 1.339 GB, free: 1.617 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/1.006, allocations: 12.03 kB / 1.339 GB, free: 1.605 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.006, allocations: 64 / 1.339 GB, free: 1.605 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005872/1.007, allocations: 80.78 kB / 1.339 GB, free: 1.523 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006078/1.007, allocations: 147.8 kB / 1.339 GB, free: 1.379 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/1.01, allocations: 1.64 MB / 1.341 GB, free: 15.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007804/1.01, allocations: 79.39 kB / 1.341 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.662e-05/1.011, allocations: 27.98 kB / 1.341 GB, free: 15.49 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (85): * Single equations (assignments): 84 * 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.0005372/1.011, allocations: 269.5 kB / 1.341 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/1.011, allocations: 83.12 kB / 1.341 GB, free: 15.13 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/1.014, allocations: 1.05 MB / 1.342 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/1.014, allocations: 8 kB / 1.342 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.014, allocations: 4 kB / 1.342 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/1.014, allocations: 7.922 kB / 1.342 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003542/1.017, allocations: 1.911 MB / 1.344 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/1.017, allocations: 0 / 1.344 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/1.018, allocations: 143.7 kB / 1.344 GB, free: 11.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004551/1.018, allocations: 76.78 kB / 1.344 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.201e-05/1.019, allocations: 23.98 kB / 1.344 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/1.021, allocations: 1.659 MB / 1.346 GB, free: 10.03 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.021, allocations: 3.984 kB / 1.346 GB, free: 10.03 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002458/1.023, allocations: 0.9824 MB / 1.347 GB, free: 9.023 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004833/1.024, allocations: 271.7 kB / 1.347 GB, free: 8.738 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/1.024, allocations: 19.94 kB / 1.347 GB, free: 8.719 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007034/1.024, allocations: 67.92 kB / 1.347 GB, free: 8.652 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/1.025, allocations: 64.91 kB / 1.347 GB, free: 8.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/1.025, allocations: 43.91 kB / 1.347 GB, free: 8.547 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006655/1.025, allocations: 451 kB / 1.348 GB, free: 8.109 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/1.025, allocations: 0 / 1.348 GB, free: 8.109 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000974/1.026, allocations: 311.2 kB / 1.348 GB, free: 7.805 MB / 1.076 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.003566/1.03, allocations: 2.036 MB / 1.35 GB, free: 5.91 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001649/1.032, allocations: 0.7885 MB / 1.351 GB, free: 5.113 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.032, allocations: 0 / 1.351 GB, free: 5.113 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009567/1.033, allocations: 0.5081 MB / 1.351 GB, free: 4.594 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/1.034, allocations: 314.1 kB / 1.352 GB, free: 4.309 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/1.044, allocations: 6.125 MB / 1.358 GB, free: 14.07 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006457/1.045, allocations: 1.012 MB / 1.359 GB, free: 13.04 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008536/1.046, allocations: 266.5 kB / 1.359 GB, free: 12.77 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005388/1.046, allocations: 371.3 kB / 1.359 GB, free: 12.41 MB / 1.092 GB Notification: Performance of SimCode: time 8.62e-07/1.046, allocations: 0 / 1.359 GB, free: 12.41 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05296/1.099, allocations: 21.33 MB / 1.38 GB, free: 7.328 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.65, allocations: 5.812 kB / 1.38 GB, free: 7.324 MB / 1.107 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches