Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 108.7 kB / 16.41 MB, free: 6.492 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.001009/0.001009, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.227/1.227, 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.346/2.346, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 60.12 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6461/0.6474, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006328/0.6537, allocations: 5.355 MB / 1.214 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1424/0.7961, allocations: 150.8 MB / 1.361 GB, free: 0.8633 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007572/0.7969, allocations: 15.94 kB / 1.361 GB, free: 0.8477 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006604/0.7976, allocations: 210 kB / 1.361 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.7995, allocations: 0.6055 MB / 1.362 GB, free: 36 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.8014, allocations: 0.892 MB / 1.363 GB, free: 15.15 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001569/0.8029, allocations: 1.557 MB / 1.364 GB, free: 13.59 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009008/0.8038, allocations: 0.6836 MB / 1.365 GB, free: 12.89 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007254/0.8046, allocations: 0.5606 MB / 1.365 GB, free: 12.32 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007302/0.8053, allocations: 0.5874 MB / 1.366 GB, free: 11.73 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002283/0.8056, allocations: 139.9 kB / 1.366 GB, free: 11.6 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008536/0.8064, allocations: 0.5113 MB / 1.367 GB, free: 11.09 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.8067, allocations: 342.9 kB / 1.367 GB, free: 10.75 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005879/0.8073, allocations: 0.6491 MB / 1.367 GB, free: 10.1 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.8091, allocations: 1.848 MB / 1.369 GB, free: 8.246 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.8091, allocations: 0 / 1.369 GB, free: 8.246 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8091, allocations: 0 / 1.369 GB, free: 8.246 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.348e-05/0.8092, allocations: 0 / 1.369 GB, free: 8.246 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.00271/0.8119, allocations: 1.589 MB / 1.371 GB, free: 6.598 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.8119, allocations: 8.031 kB / 1.371 GB, free: 6.59 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008979/0.8128, allocations: 199.2 kB / 1.371 GB, free: 6.395 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.8139, allocations: 0.8208 MB / 1.372 GB, free: 5.527 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.516e-05/0.8139, allocations: 74.02 kB / 1.372 GB, free: 5.453 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.8141, allocations: 96 kB / 1.372 GB, free: 5.359 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.8158, allocations: 1.071 MB / 1.373 GB, free: 4.223 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.8158, allocations: 3.938 kB / 1.373 GB, free: 4.219 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.054e-05/0.8159, allocations: 48 kB / 1.373 GB, free: 4.172 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.8159, allocations: 24 kB / 1.373 GB, free: 4.148 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.8178, allocations: 1.221 MB / 1.374 GB, free: 2.93 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.004228/0.822, allocations: 3.163 MB / 1.377 GB, free: 15.63 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.8236, allocations: 0.8938 MB / 1.378 GB, free: 14.73 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005571/0.8241, allocations: 339.7 kB / 1.379 GB, free: 14.4 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.317e-05/0.8242, allocations: 41.02 kB / 1.379 GB, free: 14.36 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008807/0.8251, allocations: 0.5513 MB / 1.379 GB, free: 13.79 MB / 1.107 GB Notification: Performance of pre-optimization done (n=92): time 2.044e-06/0.8251, allocations: 0 / 1.379 GB, free: 13.79 MB / 1.107 GB Notification: Performance of matching and sorting (n=92): time 0.003168/0.8283, allocations: 1.344 MB / 1.38 GB, free: 12.42 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.364e-05/0.8284, allocations: 192.9 kB / 1.381 GB, free: 12.19 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007579/0.8291, allocations: 0.6764 MB / 1.381 GB, free: 11.5 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/0.8292, allocations: 45.7 kB / 1.381 GB, free: 11.45 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.8295, allocations: 448.2 kB / 1.382 GB, free: 11.01 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.8297, allocations: 291.8 kB / 1.382 GB, free: 10.72 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/0.83, allocations: 190.4 kB / 1.382 GB, free: 10.53 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.8302, allocations: 394.7 kB / 1.383 GB, free: 10.13 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005619/0.8307, allocations: 305.8 kB / 1.383 GB, free: 9.832 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006595/0.8314, allocations: 411.1 kB / 1.383 GB, free: 9.418 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.8326, allocations: 0.6867 MB / 1.384 GB, free: 8.723 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.8326, allocations: 0 / 1.384 GB, free: 8.723 MB / 1.107 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002001/0.8346, allocations: 0.9619 MB / 1.385 GB, free: 7.746 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.8346, allocations: 8 kB / 1.385 GB, free: 7.738 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.8347, allocations: 3.984 kB / 1.385 GB, free: 7.734 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005618/0.8352, allocations: 84.83 kB / 1.385 GB, free: 7.648 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007109/0.8359, allocations: 183.7 kB / 1.385 GB, free: 7.469 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.8379, allocations: 1.63 MB / 1.387 GB, free: 5.695 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007147/0.8386, allocations: 97.14 kB / 1.387 GB, free: 5.602 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.861e-05/0.8387, allocations: 48.02 kB / 1.387 GB, free: 5.555 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: 20 (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,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 108 * 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.0003963/0.8391, allocations: 297.6 kB / 1.387 GB, free: 5.258 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.8392, allocations: 94.81 kB / 1.387 GB, free: 5.164 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/0.8418, allocations: 1.215 MB / 1.388 GB, free: 3.934 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.8418, allocations: 12 kB / 1.388 GB, free: 3.922 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.8418, allocations: 4 kB / 1.388 GB, free: 3.918 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.8418, allocations: 11.91 kB / 1.389 GB, free: 3.906 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.8429, allocations: 1.005 MB / 1.389 GB, free: 2.852 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.8429, allocations: 0 / 1.389 GB, free: 2.852 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006356/0.8435, allocations: 171.8 kB / 1.39 GB, free: 2.684 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000412/0.8439, allocations: 68.8 kB / 1.39 GB, free: 2.613 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.224e-05/0.844, allocations: 27.97 kB / 1.39 GB, free: 2.586 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.8457, allocations: 1.67 MB / 1.391 GB, free: 0.7695 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8458, allocations: 0 / 1.391 GB, free: 0.7695 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.8477, allocations: 1.045 MB / 1.392 GB, free: 15.7 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.8481, allocations: 291.6 kB / 1.393 GB, free: 15.4 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.8482, allocations: 27.98 kB / 1.393 GB, free: 15.37 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006359/0.8489, allocations: 59.94 kB / 1.393 GB, free: 15.31 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.8491, allocations: 88.88 kB / 1.393 GB, free: 15.23 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-05/0.8491, allocations: 39.97 kB / 1.393 GB, free: 15.19 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005523/0.8497, allocations: 499 kB / 1.393 GB, free: 14.71 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8497, allocations: 0 / 1.393 GB, free: 14.71 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008122/0.8505, allocations: 375 kB / 1.394 GB, free: 14.34 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0013/0.8518, allocations: 0.6269 MB / 1.394 GB, free: 13.89 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001686/0.8535, allocations: 0.9288 MB / 1.395 GB, free: 12.95 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8535, allocations: 0 / 1.395 GB, free: 12.95 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009389/0.8545, allocations: 0.5785 MB / 1.396 GB, free: 12.36 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.8556, allocations: 313.3 kB / 1.396 GB, free: 12.07 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.8585, allocations: 1.893 MB / 1.398 GB, free: 10.14 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/0.859, allocations: 1.075 MB / 1.399 GB, free: 9.043 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003217/0.8594, allocations: 135.4 kB / 1.399 GB, free: 8.91 MB / 1.123 GB Notification: Performance of SimCode: time 4.11e-07/0.8594, allocations: 0 / 1.399 GB, free: 8.91 MB / 1.123 GB Notification: Performance of Templates: time 0.02352/0.8829, allocations: 20.93 MB / 1.42 GB, free: 4.062 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches