Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_9_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_9_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.001468/0.001469, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001621/0.001621, allocations: 193.4 kB / 16.14 MB, free: 6.711 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.363/1.363, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.355/2.355, allocations: 390.2 MB / 0.6642 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7111/0.7125, allocations: 140.3 MB / 0.9489 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006386/0.7189, allocations: 4.624 MB / 0.9534 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1848/0.9037, allocations: 148.4 MB / 1.098 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001471/0.9053, allocations: 15.94 kB / 1.098 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.9063, allocations: 142.8 kB / 1.099 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002579/0.909, allocations: 467.4 kB / 1.099 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.9116, allocations: 0.7709 MB / 1.1 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002173/0.9138, allocations: 1.339 MB / 1.101 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.9152, allocations: 0.7016 MB / 1.102 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.9162, allocations: 474 kB / 1.102 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009913/0.9172, allocations: 0.5365 MB / 1.103 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003815/0.9176, allocations: 72 kB / 1.103 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.919, allocations: 439.6 kB / 1.103 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004329/0.9194, allocations: 266.9 kB / 1.103 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.9206, allocations: 0.5592 MB / 1.104 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003042/0.9236, allocations: 1.713 MB / 1.106 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.9237, allocations: 0 / 1.106 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9237, allocations: 0 / 1.106 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.543e-05/0.9238, allocations: 0 / 1.106 GB, free: 1.047 MB / 0.8575 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.0042/0.928, allocations: 1.555 MB / 1.107 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/0.928, allocations: 15.97 kB / 1.107 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.9293, allocations: 199.2 kB / 1.107 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.9308, allocations: 0.8012 MB / 1.108 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-05/0.9309, allocations: 78.02 kB / 1.108 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.9311, allocations: 99.98 kB / 1.108 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/0.9333, allocations: 1.067 MB / 1.109 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.9334, allocations: 0 / 1.109 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.9335, allocations: 44 kB / 1.109 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.9335, allocations: 27.98 kB / 1.109 GB, free: 13 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/0.9356, allocations: 1.221 MB / 1.111 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005231/0.9409, allocations: 2.917 MB / 1.113 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.9426, allocations: 0.8899 MB / 1.114 GB, free: 7.895 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006244/0.9433, allocations: 347.7 kB / 1.115 GB, free: 7.551 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.364e-05/0.9434, allocations: 36.94 kB / 1.115 GB, free: 7.516 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/0.9444, allocations: 0.5475 MB / 1.115 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=92): time 3.687e-06/0.9445, allocations: 0 / 1.115 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92): time 0.003515/0.948, allocations: 1.333 MB / 1.117 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.9481, allocations: 196.9 kB / 1.117 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.9491, allocations: 0.6879 MB / 1.117 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.871e-05/0.9492, allocations: 41.7 kB / 1.117 GB, free: 4.613 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003943/0.9496, allocations: 440.4 kB / 1.118 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.9499, allocations: 291.8 kB / 1.118 GB, free: 3.887 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000288/0.9502, allocations: 194.4 kB / 1.118 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.9504, allocations: 394.8 kB / 1.119 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006094/0.951, allocations: 305.8 kB / 1.119 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007285/0.9517, allocations: 403 kB / 1.119 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.953, allocations: 0.6944 MB / 1.12 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.953, allocations: 0 / 1.12 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002243/0.9552, allocations: 0.9463 MB / 1.121 GB, free: 0.9258 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.9553, allocations: 8 kB / 1.121 GB, free: 0.918 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.9553, allocations: 0 / 1.121 GB, free: 0.918 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006465/0.9559, allocations: 84.83 kB / 1.121 GB, free: 0.832 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000777/0.9567, allocations: 187.7 kB / 1.121 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.959, allocations: 1.524 MB / 1.123 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009227/0.9599, allocations: 108.9 kB / 1.123 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.9601, allocations: 47.97 kB / 1.123 GB, free: 14.83 MB / 0.8887 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.0005785/0.9606, allocations: 283.9 kB / 1.123 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.9609, allocations: 90.88 kB / 1.123 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002907/0.9638, allocations: 1.226 MB / 1.124 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.9639, allocations: 12 kB / 1.124 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.9639, allocations: 0 / 1.124 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.9639, allocations: 7.969 kB / 1.124 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.9653, allocations: 0.9971 MB / 1.125 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.9654, allocations: 0 / 1.125 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000689/0.9661, allocations: 175.7 kB / 1.126 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005466/0.9666, allocations: 84.72 kB / 1.126 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-05/0.9667, allocations: 27.97 kB / 1.126 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/0.9686, allocations: 1.544 MB / 1.127 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.9686, allocations: 0 / 1.127 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/0.9712, allocations: 1.049 MB / 1.128 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006295/0.9719, allocations: 299.5 kB / 1.129 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/0.9721, allocations: 20 kB / 1.129 GB, free: 8.773 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008218/0.973, allocations: 72.06 kB / 1.129 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.9732, allocations: 88.8 kB / 1.129 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.941e-05/0.9733, allocations: 39.98 kB / 1.129 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007943/0.9741, allocations: 499 kB / 1.129 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9741, allocations: 0 / 1.129 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00119/0.9753, allocations: 363.1 kB / 1.13 GB, free: 7.734 MB / 0.8887 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.001919/0.9772, allocations: 0.6249 MB / 1.13 GB, free: 7.285 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002522/0.9798, allocations: 0.9212 MB / 1.131 GB, free: 6.355 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.9798, allocations: 4.062 kB / 1.131 GB, free: 6.352 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.9811, allocations: 0.5666 MB / 1.132 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.9827, allocations: 264.6 kB / 1.132 GB, free: 5.52 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005861/0.9886, allocations: 2.466 MB / 1.134 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.9897, allocations: 1.075 MB / 1.135 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001095/0.9908, allocations: 283.3 kB / 1.136 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/0.9912, allocations: 123.4 kB / 1.136 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of SimCode: time 9.82e-07/0.9912, allocations: 4 kB / 1.136 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of Templates: time 0.02971/1.021, allocations: 15.66 MB / 1.151 GB, free: 2.02 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches