Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_9_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_9_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.001592/0.001592, 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.001977/0.001976, allocations: 192 kB / 16.53 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.367 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.369/2.369, allocations: 390.2 MB / 0.6646 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 71.89 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9082/0.9097, allocations: 140.4 MB / 0.9496 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008492/0.9182, allocations: 5.321 MB / 0.9548 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.207/1.125, allocations: 151 MB / 1.102 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/1.127, allocations: 23.88 kB / 1.102 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000887/1.128, allocations: 198 kB / 1.102 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00359/1.132, allocations: 0.6327 MB / 1.103 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003156/1.135, allocations: 1.005 MB / 1.104 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003237/1.138, allocations: 1.795 MB / 1.106 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001784/1.14, allocations: 1.16 MB / 1.107 GB, free: 156 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/1.142, allocations: 0.7747 MB / 1.108 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/1.143, allocations: 0.8362 MB / 1.108 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000316/1.143, allocations: 220 kB / 1.109 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/1.144, allocations: 0.5465 MB / 1.109 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005035/1.145, allocations: 494.5 kB / 1.11 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009556/1.146, allocations: 0.9173 MB / 1.111 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003615/1.149, allocations: 2.524 MB / 1.113 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/1.149, allocations: 0 / 1.113 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.266e-06/1.15, allocations: 3.938 kB / 1.113 GB, free: 9.832 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.117e-05/1.15, allocations: 0 / 1.113 GB, free: 9.832 MB / 0.8731 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.004396/1.154, allocations: 1.99 MB / 1.115 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/1.154, allocations: 16.03 kB / 1.115 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/1.155, allocations: 246.6 kB / 1.115 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/1.157, allocations: 0.9733 MB / 1.116 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/1.157, allocations: 148.8 kB / 1.116 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/1.157, allocations: 160 kB / 1.116 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002874/1.16, allocations: 1.593 MB / 1.118 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/1.16, allocations: 0 / 1.118 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/1.16, allocations: 64 kB / 1.118 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/1.16, allocations: 40 kB / 1.118 GB, free: 4.453 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002637/1.163, allocations: 1.596 MB / 1.12 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007819/1.171, allocations: 4.245 MB / 1.124 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/1.173, allocations: 1.092 MB / 1.125 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000744/1.174, allocations: 431.7 kB / 1.125 GB, free: 13 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/1.174, allocations: 40.94 kB / 1.125 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/1.175, allocations: 0.6958 MB / 1.126 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=111): time 2.505e-06/1.175, allocations: 8 kB / 1.126 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of matching and sorting (n=111): time 0.004082/1.179, allocations: 1.645 MB / 1.128 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/1.179, allocations: 200.9 kB / 1.128 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/1.181, allocations: 0.8454 MB / 1.129 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/1.181, allocations: 45.7 kB / 1.129 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005372/1.181, allocations: 0.6206 MB / 1.129 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/1.182, allocations: 354.8 kB / 1.13 GB, free: 8.441 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003419/1.182, allocations: 222.8 kB / 1.13 GB, free: 8.219 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.182, allocations: 349.9 kB / 1.13 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000757/1.183, allocations: 398.4 kB / 1.131 GB, free: 7.48 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000881/1.184, allocations: 0.5072 MB / 1.131 GB, free: 6.953 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/1.185, allocations: 0.8799 MB / 1.132 GB, free: 6.062 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.186, allocations: 0 / 1.132 GB, free: 6.062 MB / 0.8887 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00269/1.188, allocations: 1.207 MB / 1.133 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.188, allocations: 8 kB / 1.133 GB, free: 4.836 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/1.188, allocations: 0 / 1.133 GB, free: 4.836 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006305/1.189, allocations: 88.83 kB / 1.133 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009501/1.19, allocations: 227.6 kB / 1.133 GB, free: 4.523 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/1.192, allocations: 1.66 MB / 1.135 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/1.193, allocations: 130.9 kB / 1.135 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.906e-05/1.193, allocations: 51.95 kB / 1.135 GB, free: 2.539 MB / 0.8887 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.0007047/1.194, allocations: 356.3 kB / 1.136 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002588/1.194, allocations: 114.6 kB / 1.136 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/1.198, allocations: 1.532 MB / 1.137 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/1.198, allocations: 12 kB / 1.137 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/1.198, allocations: 0 / 1.137 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/1.198, allocations: 7.922 kB / 1.137 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/1.199, allocations: 1.365 MB / 1.139 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.199, allocations: 0 / 1.139 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008385/1.2, allocations: 199.8 kB / 1.139 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000483/1.201, allocations: 76.72 kB / 1.139 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-05/1.201, allocations: 43.97 kB / 1.139 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/1.203, allocations: 1.67 MB / 1.14 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/1.203, allocations: 0 / 1.14 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/1.206, allocations: 1.285 MB / 1.142 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005209/1.206, allocations: 359.2 kB / 1.142 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/1.206, allocations: 31.92 kB / 1.142 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008553/1.207, allocations: 89.27 kB / 1.142 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/1.207, allocations: 93.17 kB / 1.142 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/1.207, allocations: 51.95 kB / 1.142 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000883/1.208, allocations: 0.6174 MB / 1.143 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/1.208, allocations: 0 / 1.143 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00125/1.21, allocations: 442.5 kB / 1.143 GB, free: 9.957 MB / 0.9044 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.001514/1.211, allocations: 0.6237 MB / 1.144 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003566/1.215, allocations: 1.427 MB / 1.145 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.215, allocations: 256 / 1.145 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/1.216, allocations: 0.6815 MB / 1.146 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/1.217, allocations: 318.2 kB / 1.146 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005678/1.223, allocations: 2.6 MB / 1.149 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000883/1.224, allocations: 1.229 MB / 1.15 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001142/1.225, allocations: 313.1 kB / 1.15 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/1.225, allocations: 143.4 kB / 1.15 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of SimCode: time 1.563e-06/1.225, allocations: 0 / 1.15 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of Templates: time 0.03689/1.262, allocations: 19.51 MB / 1.17 GB, free: 15.39 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches