Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002205/0.002205, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.882/2.882, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 71.5 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3262, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008461/0.3347, allocations: 7.036 MB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1575/0.4922, allocations: 151.2 MB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.4933, allocations: 19.94 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007104/0.494, allocations: 265.4 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.4963, allocations: 0.7722 MB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.4984, allocations: 1.015 MB / 1.225 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002087/0.5005, allocations: 2.081 MB / 1.227 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.5019, allocations: 1.114 MB / 1.228 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009745/0.5029, allocations: 0.8098 MB / 1.229 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008658/0.5038, allocations: 0.8831 MB / 1.229 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002556/0.5041, allocations: 216 kB / 1.23 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.5051, allocations: 0.5504 MB / 1.23 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003781/0.5055, allocations: 494.5 kB / 1.231 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007949/0.5063, allocations: 0.9682 MB / 1.232 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.5088, allocations: 2.613 MB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5089, allocations: 0 / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5089, allocations: 0 / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.849e-05/0.5089, allocations: 4 kB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003581/0.5125, allocations: 2.046 MB / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.5126, allocations: 8.031 kB / 1.236 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.5136, allocations: 258.6 kB / 1.236 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.5149, allocations: 0.9734 MB / 1.237 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.5151, allocations: 148.8 kB / 1.238 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.5152, allocations: 148 kB / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/0.5177, allocations: 1.593 MB / 1.239 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.5177, allocations: 0 / 1.239 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.5179, allocations: 72 kB / 1.239 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/0.5179, allocations: 36 kB / 1.239 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002439/0.5203, allocations: 1.592 MB / 1.241 GB, free: 8.711 MB / 0.9981 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.006538/0.5269, allocations: 4.724 MB / 1.245 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/0.5288, allocations: 1.104 MB / 1.247 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000687/0.5295, allocations: 435.7 kB / 1.247 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.507e-05/0.5296, allocations: 45.02 kB / 1.247 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/0.5307, allocations: 0.7016 MB / 1.248 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=111): time 2.885e-06/0.5307, allocations: 4 kB / 1.248 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=111): time 0.6157/1.146, allocations: 1.652 MB / 1.249 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/1.147, allocations: 194.8 kB / 1.25 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/1.149, allocations: 0.8396 MB / 1.25 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004667/1.149, allocations: 51.95 kB / 1.25 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009644/1.15, allocations: 0.6188 MB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005289/1.151, allocations: 358.7 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005809/1.151, allocations: 224.4 kB / 1.252 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.151, allocations: 345.3 kB / 1.252 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/1.153, allocations: 402.1 kB / 1.252 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/1.154, allocations: 0.5115 MB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/1.156, allocations: 0.8879 MB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/1.156, allocations: 0 / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003519/1.159, allocations: 1.213 MB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/1.159, allocations: 5.969 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/1.159, allocations: 1.875 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006488/1.16, allocations: 83.03 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/1.161, allocations: 232.2 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/1.163, allocations: 1.648 MB / 1.257 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/1.164, allocations: 131.5 kB / 1.257 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/1.164, allocations: 50.66 kB / 1.257 GB, free: 180.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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.000668/1.165, allocations: 354.9 kB / 1.257 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/1.165, allocations: 119 kB / 1.257 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002998/1.168, allocations: 1.536 MB / 1.259 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/1.168, allocations: 12.84 kB / 1.259 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.168, allocations: 0 / 1.259 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/1.168, allocations: 10.3 kB / 1.259 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/1.17, allocations: 1.373 MB / 1.26 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.17, allocations: 0 / 1.26 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007266/1.171, allocations: 198.9 kB / 1.26 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004306/1.171, allocations: 73.52 kB / 1.26 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-05/1.171, allocations: 33.06 kB / 1.261 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/1.173, allocations: 1.681 MB / 1.262 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.173, allocations: 3.906 kB / 1.262 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/1.175, allocations: 1.281 MB / 1.263 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005508/1.176, allocations: 361.1 kB / 1.264 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/1.176, allocations: 31.44 kB / 1.264 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000842/1.177, allocations: 80.91 kB / 1.264 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/1.177, allocations: 94.91 kB / 1.264 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.412e-05/1.177, allocations: 54.42 kB / 1.264 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007963/1.178, allocations: 0.6127 MB / 1.265 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.21e-07/1.178, allocations: 0 / 1.265 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001287/1.179, allocations: 479.4 kB / 1.265 GB, free: 176.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001361/1.181, allocations: 0.6302 MB / 1.266 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003588/1.184, allocations: 1.436 MB / 1.267 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.184, allocations: 4.25 kB / 1.267 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/1.185, allocations: 0.6811 MB / 1.268 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/1.187, allocations: 343.8 kB / 1.268 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004698/1.192, allocations: 2.509 MB / 1.271 GB, free: 174 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008599/1.193, allocations: 1.218 MB / 1.272 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001297/1.194, allocations: 330.7 kB / 1.272 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004002/1.195, allocations: 144.9 kB / 1.272 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/1.195, allocations: 0.8438 kB / 1.272 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.03988/1.235, allocations: 20.63 MB / 1.292 GB, free: 166.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches