Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_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.00482/0.00482, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001131/0.001131, allocations: 195.8 kB / 16.67 MB, free: 5.977 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.597/2.597, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.91 kB / 1.054 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2848, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007806/0.2927, allocations: 4.783 MB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7439/1.037, allocations: 150.6 MB / 1.359 GB, free: 9.492 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007951/1.037, allocations: 19.62 kB / 1.359 GB, free: 9.484 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007426/1.038, allocations: 189.8 kB / 1.359 GB, free: 9.363 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002089/1.04, allocations: 0.5386 MB / 1.36 GB, free: 9.055 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002079/1.042, allocations: 0.8228 MB / 1.361 GB, free: 8.633 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001752/1.044, allocations: 1.369 MB / 1.362 GB, free: 7.926 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009862/1.045, allocations: 0.5761 MB / 1.362 GB, free: 7.621 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008396/1.046, allocations: 478.8 kB / 1.363 GB, free: 7.387 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009227/1.047, allocations: 0.489 MB / 1.363 GB, free: 7.129 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003383/1.047, allocations: 113.8 kB / 1.363 GB, free: 7.129 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/1.048, allocations: 481.8 kB / 1.364 GB, free: 7.023 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003821/1.049, allocations: 294.8 kB / 1.364 GB, free: 6.836 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008757/1.05, allocations: 0.5456 MB / 1.365 GB, free: 6.473 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002182/1.052, allocations: 1.613 MB / 1.366 GB, free: 5.789 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.052, allocations: 0 / 1.366 GB, free: 5.789 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/1.052, allocations: 0 / 1.366 GB, free: 5.789 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.216e-05/1.052, allocations: 0 / 1.366 GB, free: 5.789 MB / 1.061 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.003248/1.055, allocations: 1.417 MB / 1.368 GB, free: 4.824 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.055, allocations: 10.12 kB / 1.368 GB, free: 4.824 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001656/1.056, allocations: 137.6 kB / 1.368 GB, free: 4.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009571/1.056, allocations: 185.8 kB / 1.368 GB, free: 4.668 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/1.058, allocations: 0.7579 MB / 1.369 GB, free: 4.18 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/1.058, allocations: 63.94 kB / 1.369 GB, free: 4.148 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/1.058, allocations: 78.83 kB / 1.369 GB, free: 4.125 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/1.059, allocations: 0.902 MB / 1.37 GB, free: 3.707 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/1.059, allocations: 1.188 kB / 1.37 GB, free: 3.707 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.303e-05/1.06, allocations: 35.94 kB / 1.37 GB, free: 3.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/1.06, allocations: 20.03 kB / 1.37 GB, free: 3.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/1.061, allocations: 1.096 MB / 1.371 GB, free: 3.43 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.003898/1.065, allocations: 2.654 MB / 1.373 GB, free: 1.332 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/1.067, allocations: 0.8663 MB / 1.374 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005142/1.067, allocations: 302.9 kB / 1.375 GB, free: 0.6914 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.24e-05/1.067, allocations: 30.77 kB / 1.375 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000801/1.068, allocations: 494.7 kB / 1.375 GB, free: 372 kB / 1.061 GB Notification: Performance of pre-optimization done (n=79): time 2.685e-06/1.068, allocations: 0 / 1.375 GB, free: 372 kB / 1.061 GB Notification: Performance of matching and sorting (n=79): time 0.003223/1.071, allocations: 1.188 MB / 1.376 GB, free: 15.71 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/1.071, allocations: 193.7 kB / 1.376 GB, free: 15.49 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008287/1.072, allocations: 0.6177 MB / 1.377 GB, free: 15.13 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.421e-05/1.072, allocations: 39.05 kB / 1.377 GB, free: 15.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/1.073, allocations: 387.2 kB / 1.377 GB, free: 14.75 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/1.073, allocations: 256.4 kB / 1.378 GB, free: 14.53 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/1.073, allocations: 146.3 kB / 1.378 GB, free: 14.44 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001735/1.073, allocations: 388.5 kB / 1.378 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004764/1.074, allocations: 243.7 kB / 1.378 GB, free: 13.95 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/1.074, allocations: 352.8 kB / 1.379 GB, free: 13.72 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/1.075, allocations: 0.5714 MB / 1.379 GB, free: 13.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.075, allocations: 1.094 kB / 1.379 GB, free: 13.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001859/1.077, allocations: 0.7919 MB / 1.38 GB, free: 13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.077, allocations: 11.5 kB / 1.38 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.077, allocations: 0 / 1.38 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/1.078, allocations: 77.22 kB / 1.38 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/1.078, allocations: 151.6 kB / 1.38 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/1.081, allocations: 1.648 MB / 1.382 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006736/1.081, allocations: 82.78 kB / 1.382 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/1.081, allocations: 34.28 kB / 1.382 GB, free: 11.24 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.0003953/1.082, allocations: 260.7 kB / 1.382 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/1.082, allocations: 86.34 kB / 1.382 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/1.084, allocations: 1.051 MB / 1.383 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/1.084, allocations: 12.77 kB / 1.383 GB, free: 10.4 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/1.084, allocations: 1.094 kB / 1.383 GB, free: 10.4 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/1.084, allocations: 7.922 kB / 1.383 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003043/1.087, allocations: 1.919 MB / 1.385 GB, free: 9.113 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.087, allocations: 0 / 1.385 GB, free: 9.113 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000539/1.088, allocations: 141.1 kB / 1.385 GB, free: 9.082 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004458/1.088, allocations: 73.56 kB / 1.386 GB, free: 9.043 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.244e-05/1.088, allocations: 23.89 kB / 1.386 GB, free: 9.027 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/1.09, allocations: 1.654 MB / 1.387 GB, free: 7.414 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/1.09, allocations: 3.938 kB / 1.387 GB, free: 7.41 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/1.092, allocations: 0.9832 MB / 1.388 GB, free: 6.852 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003591/1.092, allocations: 270.5 kB / 1.388 GB, free: 6.613 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/1.093, allocations: 22 kB / 1.388 GB, free: 6.598 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006385/1.093, allocations: 65.95 kB / 1.388 GB, free: 6.562 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/1.093, allocations: 66.16 kB / 1.389 GB, free: 6.531 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.928e-05/1.093, allocations: 38.75 kB / 1.389 GB, free: 6.516 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005523/1.094, allocations: 453.8 kB / 1.389 GB, free: 6.258 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.41e-07/1.094, allocations: 1.375 kB / 1.389 GB, free: 6.258 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008775/1.095, allocations: 317.8 kB / 1.389 GB, free: 6.164 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.003279/1.098, allocations: 2.031 MB / 1.391 GB, free: 4.887 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00146/1.1, allocations: 0.7817 MB / 1.392 GB, free: 4.48 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.1, allocations: 7.938 kB / 1.392 GB, free: 4.473 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008377/1.101, allocations: 0.5101 MB / 1.393 GB, free: 4.18 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/1.102, allocations: 299.7 kB / 1.393 GB, free: 4.027 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009107/1.111, allocations: 6.137 MB / 1.399 GB, free: 260 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/1.111, allocations: 1.01 MB / 1.4 GB, free: 15.43 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007658/1.112, allocations: 261.9 kB / 1.4 GB, free: 15.29 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004954/1.113, allocations: 379.9 kB / 1.4 GB, free: 14.99 MB / 1.092 GB Notification: Performance of SimCode: time 5.91e-07/1.113, allocations: 0 / 1.4 GB, free: 14.99 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04888/1.162, allocations: 21.74 MB / 1.422 GB, free: 11.12 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/13.25, allocations: 8.359 kB / 1.422 GB, free: 11.11 MB / 1.107 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches