Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 102.7 kB / 15.98 MB, free: 6.355 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.002328/0.002328, allocations: 197 kB / 16.91 MB, free: 6.195 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.456/1.456, allocations: 222.9 MB / 240.6 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.879/2.879, allocations: 482.4 MB / 0.755 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001888, allocations: 74.62 kB / 0.924 GB, free: 29.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3129, allocations: 162.2 MB / 1.082 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008553/0.3215, allocations: 5.956 MB / 1.088 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1787/0.5003, allocations: 148.6 MB / 1.233 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.5017, allocations: 19.88 kB / 1.233 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007995/0.5025, allocations: 182.6 kB / 1.234 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.5047, allocations: 0.5498 MB / 1.234 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.5068, allocations: 0.78 MB / 1.235 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002115/0.509, allocations: 1.642 MB / 1.236 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.5103, allocations: 0.8696 MB / 1.237 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000936/0.5112, allocations: 0.6072 MB / 1.238 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008247/0.5121, allocations: 0.6612 MB / 1.239 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002178/0.5123, allocations: 156 kB / 1.239 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.5133, allocations: 495.6 kB / 1.239 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003645/0.5137, allocations: 374.8 kB / 1.24 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007348/0.5145, allocations: 0.7346 MB / 1.24 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002038/0.5165, allocations: 1.524 MB / 1.242 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.5165, allocations: 7.984 kB / 1.242 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5165, allocations: 0 / 1.242 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.213e-05/0.5166, allocations: 0 / 1.242 GB, free: 9.883 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003345/0.5199, allocations: 1.714 MB / 1.243 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.52, allocations: 8.031 kB / 1.243 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.521, allocations: 231 kB / 1.244 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.5224, allocations: 0.8404 MB / 1.244 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.601e-05/0.5225, allocations: 90.41 kB / 1.245 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.5226, allocations: 112 kB / 1.245 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/0.525, allocations: 1.198 MB / 1.246 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.525, allocations: 0 / 1.246 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.5251, allocations: 55.98 kB / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-05/0.5252, allocations: 32 kB / 1.246 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/0.5274, allocations: 1.281 MB / 1.247 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006058/0.5335, allocations: 3.736 MB / 1.251 GB, free: 216 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.536/1.07, allocations: 0.8668 MB / 1.252 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006282/1.07, allocations: 324.6 kB / 1.252 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.33e-05/1.07, allocations: 31.59 kB / 1.252 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/1.071, allocations: 0.5259 MB / 1.252 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=87): time 2.836e-06/1.071, allocations: 1.656 kB / 1.252 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.003502/1.075, allocations: 1.276 MB / 1.254 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/1.075, allocations: 198.6 kB / 1.254 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/1.076, allocations: 0.7344 MB / 1.255 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.77e-05/1.076, allocations: 43.14 kB / 1.255 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/1.077, allocations: 0.5147 MB / 1.255 GB, free: 172 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/1.077, allocations: 282.7 kB / 1.255 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002788/1.077, allocations: 178.4 kB / 1.256 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.705e-05/1.077, allocations: 336.6 kB / 1.256 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005758/1.078, allocations: 292.8 kB / 1.256 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006713/1.078, allocations: 396.2 kB / 1.257 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/1.08, allocations: 0.6616 MB / 1.257 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/1.08, allocations: 1.609 kB / 1.257 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002134/1.082, allocations: 0.921 MB / 1.258 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.082, allocations: 11.38 kB / 1.258 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.082, allocations: 0.9062 kB / 1.258 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006314/1.082, allocations: 83.23 kB / 1.258 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000817/1.083, allocations: 174.8 kB / 1.258 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/1.085, allocations: 1.635 MB / 1.26 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009719/1.086, allocations: 104.4 kB / 1.26 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.93e-05/1.086, allocations: 42.91 kB / 1.26 GB, free: 168.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0006997/1.087, allocations: 304.9 kB / 1.26 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/1.087, allocations: 93.84 kB / 1.261 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002735/1.09, allocations: 1.123 MB / 1.262 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/1.09, allocations: 15.92 kB / 1.262 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/1.09, allocations: 3.938 kB / 1.262 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/1.09, allocations: 5.438 kB / 1.262 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/1.091, allocations: 1.047 MB / 1.263 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-06/1.091, allocations: 0 / 1.263 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005905/1.092, allocations: 160.2 kB / 1.263 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004276/1.092, allocations: 72.53 kB / 1.263 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/1.092, allocations: 30.62 kB / 1.263 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/1.094, allocations: 1.657 MB / 1.265 GB, free: 166 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.094, allocations: 3.375 kB / 1.265 GB, free: 166 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/1.096, allocations: 0.9835 MB / 1.266 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003507/1.096, allocations: 286.1 kB / 1.266 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/1.096, allocations: 18.03 kB / 1.266 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006523/1.097, allocations: 80.05 kB / 1.266 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/1.097, allocations: 74.73 kB / 1.266 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.106e-05/1.097, allocations: 40.25 kB / 1.266 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006105/1.098, allocations: 0.5095 MB / 1.266 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.9e-07/1.098, allocations: 7.938 kB / 1.266 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009883/1.099, allocations: 385.6 kB / 1.267 GB, free: 165 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001877/1.101, allocations: 0.6045 MB / 1.267 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002558/1.103, allocations: 1.105 MB / 1.269 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.103, allocations: 2.719 kB / 1.269 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009044/1.104, allocations: 0.541 MB / 1.269 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/1.106, allocations: 329 kB / 1.269 GB, free: 164 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00336/1.109, allocations: 2.581 MB / 1.272 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005699/1.11, allocations: 1.109 MB / 1.273 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003728/1.11, allocations: 124.7 kB / 1.273 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of SimCode: time 9.52e-07/1.11, allocations: 0 / 1.273 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03518/1.145, allocations: 21.78 MB / 1.294 GB, free: 154.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches