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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 104.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.515/2.515, allocations: 443.5 MB / 0.7287 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 67.83 kB / 1.056 GB, free: 2.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.285, allocations: 160.7 MB / 1.213 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006591/0.2916, allocations: 4.821 MB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7343/1.026, allocations: 151 MB / 1.365 GB, free: 3.551 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008033/1.027, allocations: 14.88 kB / 1.365 GB, free: 3.547 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005964/1.027, allocations: 189.3 kB / 1.365 GB, free: 3.426 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001808/1.029, allocations: 0.5377 MB / 1.366 GB, free: 3.121 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002094/1.031, allocations: 0.8309 MB / 1.367 GB, free: 2.688 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001923/1.033, allocations: 1.366 MB / 1.368 GB, free: 1.98 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008449/1.034, allocations: 401 kB / 1.368 GB, free: 1.738 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007948/1.035, allocations: 490.1 kB / 1.369 GB, free: 1.496 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006584/1.035, allocations: 0.4908 MB / 1.369 GB, free: 1.238 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001625/1.036, allocations: 113.2 kB / 1.369 GB, free: 1.238 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/1.037, allocations: 484.3 kB / 1.37 GB, free: 1.125 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003023/1.037, allocations: 294.8 kB / 1.37 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005499/1.037, allocations: 0.5467 MB / 1.371 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002038/1.04, allocations: 1.617 MB / 1.372 GB, free: 15.89 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.04, allocations: 0 / 1.372 GB, free: 15.89 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/1.04, allocations: 1.312 kB / 1.372 GB, free: 15.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.288e-05/1.04, allocations: 4 kB / 1.372 GB, free: 15.88 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.002829/1.042, allocations: 1.456 MB / 1.374 GB, free: 14.88 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/1.042, allocations: 9.438 kB / 1.374 GB, free: 14.88 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/1.043, allocations: 131.4 kB / 1.374 GB, free: 14.79 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009342/1.044, allocations: 190.4 kB / 1.374 GB, free: 14.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/1.045, allocations: 0.766 MB / 1.375 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.727e-05/1.045, allocations: 59.69 kB / 1.375 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/1.045, allocations: 83.31 kB / 1.375 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/1.047, allocations: 0.8999 MB / 1.376 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/1.047, allocations: 0 / 1.376 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.859e-05/1.047, allocations: 36.94 kB / 1.376 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/1.047, allocations: 19.66 kB / 1.376 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/1.049, allocations: 1.103 MB / 1.377 GB, free: 13.47 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.004525/1.053, allocations: 2.662 MB / 1.38 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/1.055, allocations: 0.8188 MB / 1.38 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005202/1.055, allocations: 273.6 kB / 1.381 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-05/1.055, allocations: 26.88 kB / 1.381 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008871/1.056, allocations: 499.8 kB / 1.381 GB, free: 10.55 MB / 1.061 GB Notification: Performance of pre-optimization done (n=79): time 2.444e-06/1.056, allocations: 4 kB / 1.381 GB, free: 10.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=79): time 0.003287/1.06, allocations: 1.189 MB / 1.382 GB, free: 9.902 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/1.06, allocations: 189.2 kB / 1.382 GB, free: 9.684 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008961/1.061, allocations: 0.6169 MB / 1.383 GB, free: 9.328 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.482e-05/1.061, allocations: 42.14 kB / 1.383 GB, free: 9.285 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003531/1.061, allocations: 396.2 kB / 1.383 GB, free: 8.938 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000254/1.061, allocations: 270.9 kB / 1.384 GB, free: 8.703 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002458/1.062, allocations: 146.8 kB / 1.384 GB, free: 8.613 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.00022/1.062, allocations: 387.9 kB / 1.384 GB, free: 8.242 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005011/1.062, allocations: 243.8 kB / 1.384 GB, free: 8.121 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/1.063, allocations: 352.7 kB / 1.385 GB, free: 7.898 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/1.064, allocations: 0.5754 MB / 1.385 GB, free: 7.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.064, allocations: 0.875 kB / 1.385 GB, free: 7.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00197/1.066, allocations: 0.7921 MB / 1.386 GB, free: 7.176 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/1.066, allocations: 5.906 kB / 1.386 GB, free: 7.176 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.066, allocations: 1.094 kB / 1.386 GB, free: 7.176 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000583/1.067, allocations: 84.95 kB / 1.386 GB, free: 7.133 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006088/1.067, allocations: 149.8 kB / 1.386 GB, free: 7.094 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/1.069, allocations: 1.642 MB / 1.388 GB, free: 5.484 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008072/1.07, allocations: 89.28 kB / 1.388 GB, free: 5.426 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.825e-05/1.07, allocations: 32.23 kB / 1.388 GB, free: 5.414 MB / 1.061 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.0005276/1.071, allocations: 253.7 kB / 1.388 GB, free: 5.215 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/1.071, allocations: 98.08 kB / 1.388 GB, free: 5.156 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/1.074, allocations: 1.05 MB / 1.389 GB, free: 4.574 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/1.074, allocations: 10.31 kB / 1.389 GB, free: 4.574 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/1.074, allocations: 4 kB / 1.389 GB, free: 4.57 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/1.074, allocations: 3.984 kB / 1.389 GB, free: 4.566 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003476/1.077, allocations: 1.911 MB / 1.391 GB, free: 3.297 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.077, allocations: 0.6875 kB / 1.391 GB, free: 3.297 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005685/1.078, allocations: 141.3 kB / 1.391 GB, free: 3.266 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004473/1.078, allocations: 73.59 kB / 1.392 GB, free: 3.227 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.208e-05/1.078, allocations: 24.23 kB / 1.392 GB, free: 3.211 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/1.08, allocations: 1.659 MB / 1.393 GB, free: 1.586 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.08, allocations: 8 kB / 1.393 GB, free: 1.578 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/1.082, allocations: 0.9781 MB / 1.394 GB, free: 1.023 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005073/1.083, allocations: 276.1 kB / 1.394 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/1.083, allocations: 25.2 kB / 1.394 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006179/1.084, allocations: 62.22 kB / 1.394 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/1.084, allocations: 74.94 kB / 1.395 GB, free: 0.6914 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.009e-05/1.084, allocations: 37.27 kB / 1.395 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005741/1.084, allocations: 455.8 kB / 1.395 GB, free: 424 kB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.084, allocations: 3.75 kB / 1.395 GB, free: 424 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008926/1.085, allocations: 310.7 kB / 1.395 GB, free: 336 kB / 1.061 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.003969/1.089, allocations: 2.043 MB / 1.397 GB, free: 15.04 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001586/1.091, allocations: 0.7591 MB / 1.398 GB, free: 14.64 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.091, allocations: 2.938 kB / 1.398 GB, free: 14.64 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008889/1.092, allocations: 494.9 kB / 1.399 GB, free: 14.36 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/1.093, allocations: 305.7 kB / 1.399 GB, free: 14.2 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009865/1.103, allocations: 6.155 MB / 1.405 GB, free: 10.41 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006539/1.104, allocations: 1.013 MB / 1.406 GB, free: 9.57 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008732/1.104, allocations: 258.6 kB / 1.406 GB, free: 9.441 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005369/1.105, allocations: 382 kB / 1.406 GB, free: 9.137 MB / 1.076 GB Notification: Performance of SimCode: time 1.082e-06/1.105, allocations: 0 / 1.406 GB, free: 9.137 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06284/1.168, allocations: 21.44 MB / 1.427 GB, free: 5.445 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.48, allocations: 19.41 kB / 1.427 GB, free: 5.43 MB / 1.092 GB " [Timeout remaining time 285] (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 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.38434165297076]