Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_11_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_11_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.005573/0.005573, allocations: 100 kB / 15.73 MB, free: 6.062 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.001276/0.001276, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.554/2.554, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 64.09 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8936/0.8949, allocations: 159.1 MB / 1.221 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006669/0.9016, allocations: 4.792 MB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1763/1.078, allocations: 151 MB / 1.373 GB, free: 5.711 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/1.079, allocations: 11.94 kB / 1.373 GB, free: 5.699 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0008351/1.08, allocations: 190.2 kB / 1.373 GB, free: 5.512 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002123/1.082, allocations: 0.5559 MB / 1.373 GB, free: 4.957 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002123/1.084, allocations: 0.8222 MB / 1.374 GB, free: 4.141 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001876/1.086, allocations: 1.366 MB / 1.376 GB, free: 2.77 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009099/1.087, allocations: 418.3 kB / 1.376 GB, free: 2.336 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008818/1.088, allocations: 474.4 kB / 1.376 GB, free: 1.871 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008713/1.089, allocations: 0.4939 MB / 1.377 GB, free: 1.375 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002499/1.089, allocations: 112 kB / 1.377 GB, free: 1.266 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/1.09, allocations: 483.6 kB / 1.378 GB, free: 0.793 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003489/1.09, allocations: 295 kB / 1.378 GB, free: 0.5039 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006947/1.091, allocations: 0.5442 MB / 1.378 GB, free: 15.95 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/1.093, allocations: 1.614 MB / 1.38 GB, free: 14.34 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/1.093, allocations: 4 kB / 1.38 GB, free: 14.34 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.462e-06/1.093, allocations: 0 / 1.38 GB, free: 14.34 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.495e-05/1.093, allocations: 0 / 1.38 GB, free: 14.34 MB / 1.107 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.002614/1.096, allocations: 1.452 MB / 1.381 GB, free: 12.83 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.096, allocations: 8.031 kB / 1.381 GB, free: 12.82 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009969/1.097, allocations: 188.1 kB / 1.382 GB, free: 12.64 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/1.098, allocations: 0.7584 MB / 1.382 GB, free: 11.84 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.075e-05/1.098, allocations: 62 kB / 1.382 GB, free: 11.78 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/1.098, allocations: 83.98 kB / 1.382 GB, free: 11.7 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/1.1, allocations: 0.9028 MB / 1.383 GB, free: 10.75 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/1.1, allocations: 0 / 1.383 GB, free: 10.75 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.472e-05/1.1, allocations: 36 kB / 1.383 GB, free: 10.71 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/1.1, allocations: 20 kB / 1.383 GB, free: 10.7 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/1.102, allocations: 1.1 MB / 1.384 GB, free: 9.598 MB / 1.107 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.00407/1.106, allocations: 2.659 MB / 1.387 GB, free: 6.82 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/1.107, allocations: 0.8209 MB / 1.388 GB, free: 5.98 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005202/1.108, allocations: 271.7 kB / 1.388 GB, free: 5.707 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.037e-05/1.108, allocations: 36.59 kB / 1.388 GB, free: 5.672 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008419/1.109, allocations: 495 kB / 1.389 GB, free: 5.168 MB / 1.107 GB Notification: Performance of pre-optimization done (n=79): time 2.044e-06/1.109, allocations: 0 / 1.389 GB, free: 5.168 MB / 1.107 GB Notification: Performance of matching and sorting (n=79): time 0.003244/1.112, allocations: 1.192 MB / 1.39 GB, free: 3.953 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.112, allocations: 188.6 kB / 1.39 GB, free: 3.727 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009064/1.113, allocations: 0.6253 MB / 1.391 GB, free: 3.094 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.338e-05/1.113, allocations: 45.64 kB / 1.391 GB, free: 3.043 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003297/1.113, allocations: 389 kB / 1.391 GB, free: 2.656 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/1.114, allocations: 273.7 kB / 1.391 GB, free: 2.387 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/1.114, allocations: 162.5 kB / 1.391 GB, free: 2.223 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001756/1.114, allocations: 394.7 kB / 1.392 GB, free: 1.828 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005131/1.115, allocations: 261.9 kB / 1.392 GB, free: 1.57 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006276/1.115, allocations: 355.1 kB / 1.392 GB, free: 1.211 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/1.116, allocations: 0.6033 MB / 1.393 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.116, allocations: 0 / 1.393 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002012/1.118, allocations: 0.8375 MB / 1.394 GB, free: 15.75 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.118, allocations: 9.719 kB / 1.394 GB, free: 15.74 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.118, allocations: 0 / 1.394 GB, free: 15.74 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006354/1.119, allocations: 80.94 kB / 1.394 GB, free: 15.66 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/1.12, allocations: 159.8 kB / 1.394 GB, free: 15.5 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/1.122, allocations: 1.63 MB / 1.396 GB, free: 13.72 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007456/1.123, allocations: 99.52 kB / 1.396 GB, free: 13.62 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/1.123, allocations: 35.97 kB / 1.396 GB, free: 13.59 MB / 1.123 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.0004394/1.123, allocations: 267.9 kB / 1.396 GB, free: 13.32 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/1.123, allocations: 83.48 kB / 1.396 GB, free: 13.24 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002346/1.126, allocations: 1.046 MB / 1.397 GB, free: 12.18 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/1.126, allocations: 8 kB / 1.397 GB, free: 12.17 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.126, allocations: 4 kB / 1.397 GB, free: 12.17 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/1.126, allocations: 11.92 kB / 1.397 GB, free: 12.16 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003244/1.129, allocations: 1.9 MB / 1.399 GB, free: 10.2 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.129, allocations: 0 / 1.399 GB, free: 10.2 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/1.129, allocations: 143.8 kB / 1.399 GB, free: 10.05 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/1.13, allocations: 64.8 kB / 1.399 GB, free: 9.988 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.535e-05/1.13, allocations: 31.97 kB / 1.399 GB, free: 9.957 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/1.132, allocations: 1.666 MB / 1.401 GB, free: 8.141 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.132, allocations: 3.938 kB / 1.401 GB, free: 8.137 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/1.134, allocations: 0.9946 MB / 1.402 GB, free: 7.129 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003548/1.134, allocations: 276.2 kB / 1.402 GB, free: 6.84 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/1.134, allocations: 16 kB / 1.402 GB, free: 6.824 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006652/1.135, allocations: 62.61 kB / 1.402 GB, free: 6.766 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/1.135, allocations: 72.89 kB / 1.402 GB, free: 6.691 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.686e-05/1.135, allocations: 31.98 kB / 1.402 GB, free: 6.66 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005486/1.136, allocations: 455 kB / 1.403 GB, free: 6.219 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.136, allocations: 0 / 1.403 GB, free: 6.219 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008645/1.137, allocations: 323.1 kB / 1.403 GB, free: 5.902 MB / 1.123 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.001434/1.138, allocations: 0.6114 MB / 1.404 GB, free: 5.469 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001697/1.14, allocations: 0.7921 MB / 1.404 GB, free: 4.664 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.14, allocations: 0 / 1.404 GB, free: 4.664 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008959/1.141, allocations: 492.4 kB / 1.405 GB, free: 4.172 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/1.142, allocations: 309.5 kB / 1.405 GB, free: 3.891 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/1.145, allocations: 1.64 MB / 1.407 GB, free: 2.219 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/1.145, allocations: 1.023 MB / 1.408 GB, free: 1.168 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0007384/1.146, allocations: 262.5 kB / 1.408 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/1.146, allocations: 95.39 kB / 1.408 GB, free: 0.8125 MB / 1.123 GB Notification: Performance of SimCode: time 7.61e-07/1.146, allocations: 0 / 1.408 GB, free: 0.8125 MB / 1.123 GB Notification: Performance of Templates: time 0.02684/1.173, allocations: 15.16 MB / 1.423 GB, free: 1.832 MB / 1.139 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches