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.00508/0.00508, allocations: 99.66 kB / 15.73 MB, free: 6.477 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.001132/0.001132, allocations: 189.9 kB / 16.67 MB, free: 6.391 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.75/2.75, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 64.14 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3316, allocations: 157.4 MB / 1.208 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006209/0.3378, allocations: 4.791 MB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9244/1.262, allocations: 150.6 MB / 1.359 GB, free: 9.414 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/1.263, allocations: 15.84 kB / 1.359 GB, free: 9.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007024/1.264, allocations: 194.6 kB / 1.36 GB, free: 9.285 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002014/1.266, allocations: 0.5327 MB / 1.36 GB, free: 8.984 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/1.268, allocations: 0.8333 MB / 1.361 GB, free: 8.551 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001885/1.27, allocations: 1.361 MB / 1.362 GB, free: 7.848 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009427/1.271, allocations: 0.5689 MB / 1.363 GB, free: 7.551 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009477/1.272, allocations: 480.1 kB / 1.363 GB, free: 7.316 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007473/1.273, allocations: 0.4952 MB / 1.364 GB, free: 7.055 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001846/1.273, allocations: 114.1 kB / 1.364 GB, free: 7.055 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/1.274, allocations: 484.7 kB / 1.364 GB, free: 6.945 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003176/1.275, allocations: 286.5 kB / 1.365 GB, free: 6.766 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006503/1.275, allocations: 0.5545 MB / 1.365 GB, free: 6.395 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002235/1.278, allocations: 1.606 MB / 1.367 GB, free: 5.715 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.278, allocations: 0 / 1.367 GB, free: 5.715 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.464e-06/1.278, allocations: 0 / 1.367 GB, free: 5.715 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.721e-05/1.278, allocations: 0 / 1.367 GB, free: 5.715 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.003081/1.281, allocations: 1.413 MB / 1.368 GB, free: 4.754 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.281, allocations: 9.312 kB / 1.368 GB, free: 4.754 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/1.282, allocations: 182.1 kB / 1.368 GB, free: 4.695 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/1.283, allocations: 0.7562 MB / 1.369 GB, free: 4.207 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.784e-05/1.283, allocations: 67.97 kB / 1.369 GB, free: 4.172 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/1.284, allocations: 76.53 kB / 1.369 GB, free: 4.148 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/1.285, allocations: 0.9039 MB / 1.37 GB, free: 3.73 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/1.285, allocations: 0.7812 kB / 1.37 GB, free: 3.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.397e-05/1.285, allocations: 32.34 kB / 1.37 GB, free: 3.707 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/1.285, allocations: 24.5 kB / 1.37 GB, free: 3.703 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/1.287, allocations: 1.1 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.004601/1.292, allocations: 2.648 MB / 1.374 GB, free: 1.305 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/1.294, allocations: 0.8606 MB / 1.375 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006137/1.294, allocations: 304.6 kB / 1.375 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.86e-05/1.294, allocations: 26.67 kB / 1.375 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009774/1.295, allocations: 493.5 kB / 1.375 GB, free: 348 kB / 1.061 GB Notification: Performance of pre-optimization done (n=79): time 4.859e-06/1.295, allocations: 3.984 kB / 1.375 GB, free: 344 kB / 1.061 GB Notification: Performance of matching and sorting (n=79): time 0.00363/1.299, allocations: 1.176 MB / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/1.299, allocations: 197.2 kB / 1.377 GB, free: 15.47 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009935/1.3, allocations: 0.624 MB / 1.377 GB, free: 15.1 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-05/1.3, allocations: 42.36 kB / 1.377 GB, free: 15.06 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000315/1.301, allocations: 391.1 kB / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/1.301, allocations: 253.5 kB / 1.378 GB, free: 14.5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/1.301, allocations: 157.7 kB / 1.378 GB, free: 14.4 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.301, allocations: 384.7 kB / 1.379 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005224/1.302, allocations: 271.1 kB / 1.379 GB, free: 13.9 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006579/1.302, allocations: 361.4 kB / 1.379 GB, free: 13.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/1.304, allocations: 0.6033 MB / 1.38 GB, free: 13.37 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/1.304, allocations: 0 / 1.38 GB, free: 13.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002068/1.306, allocations: 0.8396 MB / 1.381 GB, free: 12.93 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/1.306, allocations: 9.953 kB / 1.381 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.306, allocations: 4.969 kB / 1.381 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007101/1.306, allocations: 85.55 kB / 1.381 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006881/1.307, allocations: 156.8 kB / 1.381 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/1.31, allocations: 1.634 MB / 1.382 GB, free: 11.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/1.311, allocations: 87.53 kB / 1.382 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.984e-05/1.311, allocations: 34.36 kB / 1.383 GB, free: 11.18 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: 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.0006791/1.311, allocations: 273.7 kB / 1.383 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/1.312, allocations: 85.06 kB / 1.383 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/1.314, allocations: 1.047 MB / 1.384 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/1.314, allocations: 10 kB / 1.384 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.314, allocations: 4 kB / 1.384 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/1.314, allocations: 9.062 kB / 1.384 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003572/1.318, allocations: 1.896 MB / 1.386 GB, free: 9.062 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/1.318, allocations: 0 / 1.386 GB, free: 9.062 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005742/1.318, allocations: 144.8 kB / 1.386 GB, free: 9.027 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005169/1.319, allocations: 73.81 kB / 1.386 GB, free: 8.988 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.961e-05/1.319, allocations: 24.05 kB / 1.386 GB, free: 8.973 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/1.321, allocations: 1.654 MB / 1.388 GB, free: 7.359 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.321, allocations: 3.938 kB / 1.388 GB, free: 7.355 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/1.324, allocations: 0.9897 MB / 1.389 GB, free: 6.789 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005273/1.324, allocations: 266.8 kB / 1.389 GB, free: 6.555 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/1.324, allocations: 26.39 kB / 1.389 GB, free: 6.535 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006552/1.325, allocations: 63.33 kB / 1.389 GB, free: 6.504 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/1.325, allocations: 65.81 kB / 1.389 GB, free: 6.473 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.712e-05/1.325, allocations: 37.81 kB / 1.389 GB, free: 6.457 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006261/1.326, allocations: 451 kB / 1.389 GB, free: 6.203 MB / 1.076 GB Notification: Performance of sort global known variables: time 4.01e-07/1.326, allocations: 1.219 kB / 1.389 GB, free: 6.203 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001113/1.327, allocations: 322.7 kB / 1.39 GB, free: 6.109 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.001437/1.328, allocations: 0.6071 MB / 1.39 GB, free: 5.82 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001814/1.33, allocations: 0.8154 MB / 1.391 GB, free: 5.395 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/1.33, allocations: 0 / 1.391 GB, free: 5.395 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009586/1.331, allocations: 0.5162 MB / 1.392 GB, free: 5.094 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/1.333, allocations: 300.2 kB / 1.392 GB, free: 4.941 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003899/1.337, allocations: 1.618 MB / 1.394 GB, free: 3.984 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009721/1.338, allocations: 1.016 MB / 1.395 GB, free: 3.152 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001293/1.339, allocations: 260.8 kB / 1.395 GB, free: 3.02 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/1.339, allocations: 105.9 kB / 1.395 GB, free: 2.984 MB / 1.076 GB Notification: Performance of SimCode: time 1.083e-06/1.339, allocations: 2.906 kB / 1.395 GB, free: 2.984 MB / 1.076 GB Notification: Performance of Templates: time 0.02846/1.368, allocations: 15.37 MB / 1.41 GB, free: 7.328 MB / 1.092 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/jenkins/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