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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 101.9 kB / 16.4 MB, free: 6.406 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.001939/0.001939, allocations: 192.2 kB / 17.35 MB, free: 5.695 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.684/2.684, allocations: 461.9 MB / 0.7354 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 63.91 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8907/0.8922, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006972/0.8993, allocations: 4.793 MB / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1699/1.069, allocations: 150.6 MB / 1.36 GB, free: 1.586 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009581/1.07, allocations: 11.94 kB / 1.36 GB, free: 1.574 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008517/1.071, allocations: 190.2 kB / 1.36 GB, free: 1.387 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002256/1.073, allocations: 0.5375 MB / 1.361 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002326/1.076, allocations: 0.8399 MB / 1.362 GB, free: 16 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002019/1.078, allocations: 1.362 MB / 1.363 GB, free: 14.65 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/1.079, allocations: 0.5753 MB / 1.364 GB, free: 14.05 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008699/1.08, allocations: 482.4 kB / 1.364 GB, free: 13.58 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008396/1.081, allocations: 0.49 MB / 1.365 GB, free: 13.09 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003058/1.081, allocations: 116 kB / 1.365 GB, free: 12.98 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/1.082, allocations: 483.6 kB / 1.365 GB, free: 12.5 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003995/1.083, allocations: 287.1 kB / 1.365 GB, free: 12.22 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007998/1.083, allocations: 0.548 MB / 1.366 GB, free: 11.67 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002451/1.086, allocations: 1.606 MB / 1.367 GB, free: 10.06 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/1.086, allocations: 3.938 kB / 1.367 GB, free: 10.06 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.986e-06/1.086, allocations: 4 kB / 1.367 GB, free: 10.05 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.147e-05/1.086, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.092 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.003104/1.089, allocations: 1.407 MB / 1.369 GB, free: 8.594 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/1.089, allocations: 8.031 kB / 1.369 GB, free: 8.586 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/1.09, allocations: 187.4 kB / 1.369 GB, free: 8.402 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/1.092, allocations: 0.7578 MB / 1.37 GB, free: 7.605 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.108e-05/1.092, allocations: 66 kB / 1.37 GB, free: 7.539 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/1.092, allocations: 76 kB / 1.37 GB, free: 7.465 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/1.093, allocations: 0.9028 MB / 1.371 GB, free: 6.523 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/1.094, allocations: 0 / 1.371 GB, free: 6.523 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.054e-05/1.094, allocations: 35.98 kB / 1.371 GB, free: 6.488 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/1.094, allocations: 23.98 kB / 1.371 GB, free: 6.465 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/1.095, allocations: 1.1 MB / 1.372 GB, free: 5.363 MB / 1.092 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.004267/1.1, allocations: 2.653 MB / 1.374 GB, free: 2.594 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/1.101, allocations: 0.8615 MB / 1.375 GB, free: 1.707 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005369/1.102, allocations: 294.7 kB / 1.376 GB, free: 1.414 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.598e-05/1.102, allocations: 36.59 kB / 1.376 GB, free: 1.379 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008892/1.103, allocations: 491.1 kB / 1.376 GB, free: 0.8789 MB / 1.092 GB Notification: Performance of pre-optimization done (n=79): time 3.016e-06/1.103, allocations: 4 kB / 1.376 GB, free: 0.875 MB / 1.092 GB Notification: Performance of matching and sorting (n=79): time 0.00322/1.106, allocations: 1.178 MB / 1.377 GB, free: 15.67 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.106, allocations: 196.6 kB / 1.377 GB, free: 15.43 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008526/1.107, allocations: 0.6175 MB / 1.378 GB, free: 14.8 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.086e-05/1.107, allocations: 41.7 kB / 1.378 GB, free: 14.76 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/1.107, allocations: 392.4 kB / 1.378 GB, free: 14.37 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/1.108, allocations: 256.2 kB / 1.379 GB, free: 14.12 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/1.108, allocations: 158.5 kB / 1.379 GB, free: 13.96 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001802/1.108, allocations: 386.7 kB / 1.379 GB, free: 13.57 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000556/1.109, allocations: 269.8 kB / 1.38 GB, free: 13.3 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006488/1.109, allocations: 359.1 kB / 1.38 GB, free: 12.94 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/1.111, allocations: 0.5994 MB / 1.38 GB, free: 12.33 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.111, allocations: 0 / 1.38 GB, free: 12.33 MB / 1.107 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002009/1.113, allocations: 0.8371 MB / 1.381 GB, free: 11.48 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/1.113, allocations: 7.984 kB / 1.381 GB, free: 11.47 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.113, allocations: 0 / 1.381 GB, free: 11.47 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006082/1.113, allocations: 88.75 kB / 1.381 GB, free: 11.38 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/1.114, allocations: 163.8 kB / 1.381 GB, free: 11.22 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/1.116, allocations: 1.63 MB / 1.383 GB, free: 9.445 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007571/1.117, allocations: 95.41 kB / 1.383 GB, free: 9.352 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-05/1.117, allocations: 31.98 kB / 1.383 GB, free: 9.32 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$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 (93): * Single equations (assignments): 92 * 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.0004817/1.117, allocations: 271.5 kB / 1.383 GB, free: 9.043 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/1.118, allocations: 82.97 kB / 1.384 GB, free: 8.961 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/1.12, allocations: 1.042 MB / 1.385 GB, free: 7.91 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/1.12, allocations: 8 kB / 1.385 GB, free: 7.902 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/1.12, allocations: 0 / 1.385 GB, free: 7.902 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/1.12, allocations: 7.922 kB / 1.385 GB, free: 7.895 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00327/1.123, allocations: 1.908 MB / 1.386 GB, free: 5.926 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.123, allocations: 4 kB / 1.386 GB, free: 5.922 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000568/1.124, allocations: 143.8 kB / 1.387 GB, free: 5.781 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004541/1.124, allocations: 68.78 kB / 1.387 GB, free: 5.711 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.104e-05/1.124, allocations: 27.98 kB / 1.387 GB, free: 5.684 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/1.126, allocations: 1.662 MB / 1.388 GB, free: 3.871 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.126, allocations: 0 / 1.388 GB, free: 3.871 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/1.128, allocations: 0.9901 MB / 1.389 GB, free: 2.863 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004053/1.129, allocations: 267.8 kB / 1.39 GB, free: 2.582 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/1.129, allocations: 20 kB / 1.39 GB, free: 2.562 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/1.13, allocations: 65.8 kB / 1.39 GB, free: 2.5 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/1.13, allocations: 64.91 kB / 1.39 GB, free: 2.434 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.086e-05/1.13, allocations: 39.97 kB / 1.39 GB, free: 2.395 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006449/1.131, allocations: 447 kB / 1.39 GB, free: 1.965 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.8e-07/1.131, allocations: 0 / 1.39 GB, free: 1.965 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009415/1.132, allocations: 323.2 kB / 1.39 GB, free: 1.648 MB / 1.107 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.0015/1.133, allocations: 0.6094 MB / 1.391 GB, free: 1.215 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001778/1.135, allocations: 0.8197 MB / 1.392 GB, free: 396 kB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.135, allocations: 0 / 1.392 GB, free: 396 kB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009894/1.136, allocations: 0.5197 MB / 1.392 GB, free: 15.85 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/1.137, allocations: 297.6 kB / 1.393 GB, free: 15.58 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/1.14, allocations: 1.644 MB / 1.394 GB, free: 13.9 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006338/1.141, allocations: 1.012 MB / 1.395 GB, free: 12.86 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/1.141, allocations: 115.4 kB / 1.395 GB, free: 12.75 MB / 1.123 GB Notification: Performance of SimCode: time 4.21e-07/1.141, allocations: 0 / 1.395 GB, free: 12.75 MB / 1.123 GB Notification: Performance of Templates: time 0.02516/1.166, allocations: 18.32 MB / 1.413 GB, free: 10.48 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (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 & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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