Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_10_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_10_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.006155/0.006155, allocations: 99.11 kB / 15.73 MB, free: 6.008 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.001212/0.001212, allocations: 189.8 kB / 16.67 MB, free: 5.926 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.547/2.547, allocations: 437 MB / 0.7105 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.89 kB / 1.018 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9247/0.926, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007507/0.9336, allocations: 5.984 MB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1763/1.11, allocations: 150.8 MB / 1.32 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/1.111, allocations: 15.94 kB / 1.32 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008351/1.112, allocations: 241.7 kB / 1.32 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002195/1.114, allocations: 0.6329 MB / 1.321 GB, free: 5.504 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/1.117, allocations: 0.8695 MB / 1.321 GB, free: 4.641 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001922/1.118, allocations: 1.658 MB / 1.323 GB, free: 2.977 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/1.12, allocations: 0.8652 MB / 1.324 GB, free: 2.078 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00091/1.121, allocations: 0.619 MB / 1.324 GB, free: 1.457 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008309/1.121, allocations: 0.665 MB / 1.325 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002546/1.122, allocations: 160 kB / 1.325 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/1.123, allocations: 0.5036 MB / 1.326 GB, free: 132 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003412/1.123, allocations: 378.7 kB / 1.326 GB, free: 15.76 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006561/1.124, allocations: 0.7308 MB / 1.327 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002484/1.126, allocations: 2.044 MB / 1.329 GB, free: 12.97 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/1.126, allocations: 0 / 1.329 GB, free: 12.97 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/1.126, allocations: 0 / 1.329 GB, free: 12.97 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.235e-05/1.126, allocations: 0 / 1.329 GB, free: 12.97 MB / 1.061 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.003042/1.129, allocations: 1.765 MB / 1.331 GB, free: 11.15 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/1.129, allocations: 8.031 kB / 1.331 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/1.131, allocations: 227.8 kB / 1.331 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/1.132, allocations: 0.8684 MB / 1.332 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.254e-05/1.132, allocations: 94.39 kB / 1.332 GB, free: 9.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/1.132, allocations: 120 kB / 1.332 GB, free: 9.793 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/1.134, allocations: 1.206 MB / 1.333 GB, free: 8.523 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/1.134, allocations: 0 / 1.333 GB, free: 8.523 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/1.135, allocations: 48 kB / 1.333 GB, free: 8.477 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/1.135, allocations: 28 kB / 1.333 GB, free: 8.449 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/1.137, allocations: 1.289 MB / 1.334 GB, free: 7.152 MB / 1.061 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.005266/1.142, allocations: 3.559 MB / 1.338 GB, free: 3.422 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/1.144, allocations: 0.8698 MB / 1.339 GB, free: 2.551 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005505/1.144, allocations: 322.7 kB / 1.339 GB, free: 2.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.289e-05/1.144, allocations: 32.59 kB / 1.339 GB, free: 2.199 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009294/1.145, allocations: 0.5159 MB / 1.34 GB, free: 1.668 MB / 1.061 GB Notification: Performance of pre-optimization done (n=87): time 2.675e-06/1.145, allocations: 0 / 1.34 GB, free: 1.668 MB / 1.061 GB Notification: Performance of matching and sorting (n=87): time 0.003414/1.149, allocations: 1.288 MB / 1.341 GB, free: 360 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/1.149, allocations: 188.9 kB / 1.341 GB, free: 128 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/1.15, allocations: 0.7393 MB / 1.342 GB, free: 15.37 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.558e-05/1.15, allocations: 41.7 kB / 1.342 GB, free: 15.32 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004366/1.15, allocations: 0.532 MB / 1.342 GB, free: 14.78 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002484/1.151, allocations: 297.4 kB / 1.343 GB, free: 14.49 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/1.151, allocations: 170.6 kB / 1.343 GB, free: 14.32 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.151, allocations: 345.9 kB / 1.343 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005678/1.152, allocations: 293.8 kB / 1.343 GB, free: 13.69 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007201/1.152, allocations: 391 kB / 1.344 GB, free: 13.29 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/1.154, allocations: 0.6555 MB / 1.344 GB, free: 12.63 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.154, allocations: 0 / 1.344 GB, free: 12.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002255/1.156, allocations: 0.9311 MB / 1.345 GB, free: 11.69 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/1.156, allocations: 8 kB / 1.345 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.156, allocations: 3.938 kB / 1.345 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006721/1.157, allocations: 80.86 kB / 1.345 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007703/1.157, allocations: 179.7 kB / 1.345 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/1.16, allocations: 1.638 MB / 1.347 GB, free: 9.641 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000902/1.161, allocations: 98.3 kB / 1.347 GB, free: 9.547 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.72e-05/1.161, allocations: 43.91 kB / 1.347 GB, free: 9.504 MB / 1.076 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.0006412/1.162, allocations: 303.4 kB / 1.348 GB, free: 9.199 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/1.162, allocations: 103.3 kB / 1.348 GB, free: 9.098 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/1.164, allocations: 1.126 MB / 1.349 GB, free: 7.957 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/1.164, allocations: 11.94 kB / 1.349 GB, free: 7.945 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/1.164, allocations: 4 kB / 1.349 GB, free: 7.941 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/1.164, allocations: 7.969 kB / 1.349 GB, free: 7.934 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/1.166, allocations: 1.04 MB / 1.35 GB, free: 6.844 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.166, allocations: 4 kB / 1.35 GB, free: 6.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/1.166, allocations: 151.8 kB / 1.35 GB, free: 6.691 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004559/1.167, allocations: 72.8 kB / 1.35 GB, free: 6.617 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-05/1.167, allocations: 27.97 kB / 1.35 GB, free: 6.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/1.169, allocations: 1.674 MB / 1.352 GB, free: 4.77 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/1.169, allocations: 3.984 kB / 1.352 GB, free: 4.766 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/1.171, allocations: 0.9829 MB / 1.353 GB, free: 3.766 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004732/1.171, allocations: 292.1 kB / 1.353 GB, free: 3.461 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/1.171, allocations: 20 kB / 1.353 GB, free: 3.441 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006389/1.172, allocations: 59.92 kB / 1.353 GB, free: 3.383 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/1.172, allocations: 84.83 kB / 1.353 GB, free: 3.301 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.347e-05/1.172, allocations: 35.98 kB / 1.353 GB, free: 3.266 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007776/1.173, allocations: 0.5107 MB / 1.354 GB, free: 2.758 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/1.173, allocations: 3.938 kB / 1.354 GB, free: 2.754 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001111/1.174, allocations: 398.8 kB / 1.354 GB, free: 2.363 MB / 1.076 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.00141/1.176, allocations: 0.6001 MB / 1.355 GB, free: 1.918 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001885/1.178, allocations: 0.8898 MB / 1.355 GB, free: 1.012 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.178, allocations: 0 / 1.355 GB, free: 1.012 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009437/1.179, allocations: 0.5394 MB / 1.356 GB, free: 472 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/1.18, allocations: 329.4 kB / 1.356 GB, free: 164 kB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/1.183, allocations: 2.007 MB / 1.358 GB, free: 14.12 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000722/1.184, allocations: 1.11 MB / 1.359 GB, free: 12.99 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008719/1.185, allocations: 291.6 kB / 1.36 GB, free: 12.7 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/1.185, allocations: 119.4 kB / 1.36 GB, free: 12.58 MB / 1.092 GB Notification: Performance of SimCode: time 6.01e-07/1.185, allocations: 0 / 1.36 GB, free: 12.58 MB / 1.092 GB Notification: Performance of Templates: time 0.0287/1.214, allocations: 16.56 MB / 1.376 GB, free: 12.18 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches