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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001554/0.001553, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001506/0.001506, allocations: 191 kB / 17.29 MB, free: 5.516 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.47/1.47, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.53/2.53, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 69.2 kB / 0.8773 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3527, allocations: 153 MB / 1.027 GB, free: 2.117 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00809/0.3608, allocations: 7.053 MB / 1.034 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.8583/1.219, allocations: 151.1 MB / 1.181 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/1.221, allocations: 22.75 kB / 1.181 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008159/1.221, allocations: 260.8 kB / 1.181 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002718/1.224, allocations: 0.7777 MB / 1.182 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002699/1.227, allocations: 1.017 MB / 1.183 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003468/1.23, allocations: 2.095 MB / 1.185 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001675/1.232, allocations: 1.116 MB / 1.186 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/1.234, allocations: 0.8184 MB / 1.187 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/1.235, allocations: 0.8768 MB / 1.188 GB, free: 188 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003275/1.235, allocations: 218.3 kB / 1.188 GB, free: 188 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/1.237, allocations: 0.577 MB / 1.189 GB, free: 0 / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004778/1.237, allocations: 491.8 kB / 1.189 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00103/1.238, allocations: 0.9707 MB / 1.19 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003192/1.241, allocations: 2.672 MB / 1.193 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/1.241, allocations: 1.094 kB / 1.193 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.51e-07/1.241, allocations: 0 / 1.193 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.948e-05/1.241, allocations: 0.8438 kB / 1.193 GB, free: 12.92 MB / 0.9044 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.004074/1.245, allocations: 2.037 MB / 1.195 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/1.246, allocations: 17.33 kB / 1.195 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/1.247, allocations: 249.3 kB / 1.195 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/1.248, allocations: 0.9955 MB / 1.196 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/1.248, allocations: 150.3 kB / 1.196 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/1.249, allocations: 150.1 kB / 1.196 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/1.251, allocations: 1.588 MB / 1.198 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/1.251, allocations: 7.938 kB / 1.198 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/1.251, allocations: 66.19 kB / 1.198 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/1.251, allocations: 40.44 kB / 1.198 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/1.254, allocations: 1.595 MB / 1.2 GB, free: 8.488 MB / 0.9044 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.007208/1.261, allocations: 4.679 MB / 1.204 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/1.263, allocations: 1.097 MB / 1.205 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007729/1.264, allocations: 437.1 kB / 1.206 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/1.264, allocations: 42.55 kB / 1.206 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001283/1.265, allocations: 0.6982 MB / 1.206 GB, free: 3.488 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=111): time 3.396e-06/1.265, allocations: 0 / 1.206 GB, free: 3.488 MB / 0.9044 GB Notification: Performance of matching and sorting (n=111): time 0.004155/1.269, allocations: 1.657 MB / 1.208 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/1.27, allocations: 193.3 kB / 1.208 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/1.271, allocations: 0.8422 MB / 1.209 GB, free: 1.902 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/1.271, allocations: 49.52 kB / 1.209 GB, free: 1.855 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006024/1.272, allocations: 0.6251 MB / 1.21 GB, free: 1.301 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/1.272, allocations: 344.4 kB / 1.21 GB, free: 1 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003633/1.272, allocations: 231.6 kB / 1.21 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.272, allocations: 348.1 kB / 1.21 GB, free: 0.5195 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000738/1.273, allocations: 400.2 kB / 1.211 GB, free: 328 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000875/1.274, allocations: 0.515 MB / 1.211 GB, free: 15.86 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/1.276, allocations: 0.8877 MB / 1.212 GB, free: 14.96 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/1.276, allocations: 0 / 1.212 GB, free: 14.96 MB / 0.92 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00251/1.278, allocations: 1.21 MB / 1.213 GB, free: 13.74 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.278, allocations: 4 kB / 1.213 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.278, allocations: 8.125 kB / 1.213 GB, free: 13.73 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005963/1.279, allocations: 80.77 kB / 1.213 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009611/1.28, allocations: 231.7 kB / 1.214 GB, free: 13.42 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/1.282, allocations: 1.654 MB / 1.215 GB, free: 11.62 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/1.283, allocations: 134.9 kB / 1.215 GB, free: 11.49 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.784e-05/1.283, allocations: 47.95 kB / 1.215 GB, free: 11.45 MB / 0.92 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.0007639/1.284, allocations: 348.2 kB / 1.216 GB, free: 11.1 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/1.284, allocations: 114.6 kB / 1.216 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003225/1.287, allocations: 1.529 MB / 1.217 GB, free: 9.445 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/1.287, allocations: 13.59 kB / 1.217 GB, free: 9.434 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/1.287, allocations: 0 / 1.217 GB, free: 9.434 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/1.287, allocations: 7.969 kB / 1.217 GB, free: 9.426 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/1.289, allocations: 1.373 MB / 1.219 GB, free: 8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.289, allocations: 0 / 1.219 GB, free: 8 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008088/1.29, allocations: 203.7 kB / 1.219 GB, free: 7.801 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004345/1.291, allocations: 72.8 kB / 1.219 GB, free: 7.727 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.58e-05/1.291, allocations: 35.95 kB / 1.219 GB, free: 7.691 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/1.293, allocations: 1.674 MB / 1.221 GB, free: 5.871 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.293, allocations: 3.938 kB / 1.221 GB, free: 5.867 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002889/1.296, allocations: 1.273 MB / 1.222 GB, free: 4.57 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006547/1.296, allocations: 359.2 kB / 1.222 GB, free: 4.199 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/1.297, allocations: 39.84 kB / 1.222 GB, free: 4.16 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008197/1.297, allocations: 89.88 kB / 1.222 GB, free: 4.074 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/1.298, allocations: 93.17 kB / 1.223 GB, free: 3.98 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/1.298, allocations: 51.97 kB / 1.223 GB, free: 3.93 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000926/1.299, allocations: 0.6135 MB / 1.223 GB, free: 3.305 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.5e-07/1.299, allocations: 3.75 kB / 1.223 GB, free: 3.305 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001502/1.3, allocations: 482.5 kB / 1.224 GB, free: 2.832 MB / 0.92 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.001603/1.302, allocations: 0.6059 MB / 1.224 GB, free: 2.402 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002624/1.304, allocations: 1.155 MB / 1.225 GB, free: 1.238 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.304, allocations: 8 kB / 1.225 GB, free: 1.23 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/1.306, allocations: 0.6777 MB / 1.226 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/1.307, allocations: 357.4 kB / 1.226 GB, free: 220 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004803/1.312, allocations: 2.464 MB / 1.229 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008806/1.313, allocations: 1.22 MB / 1.23 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001129/1.314, allocations: 317.2 kB / 1.23 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/1.314, allocations: 143.4 kB / 1.23 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of SimCode: time 2.916e-06/1.314, allocations: 0 / 1.23 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of Templates: time 0.03787/1.352, allocations: 20.63 MB / 1.251 GB, free: 7.598 MB / 0.9512 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches