Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_10_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_10_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.001208/0.001209, allocations: 106.4 kB / 16.39 MB, free: 6.379 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.001296/0.001296, allocations: 190.6 kB / 17.33 MB, free: 5.848 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.2 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.613/2.613, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 59.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8992/0.9012, allocations: 151.6 MB / 1.167 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009413/0.9107, allocations: 7.081 MB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1968/1.108, allocations: 151.2 MB / 1.322 GB, free: 5.141 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/1.109, allocations: 23.88 kB / 1.322 GB, free: 5.117 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009222/1.11, allocations: 269.4 kB / 1.322 GB, free: 4.852 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002983/1.113, allocations: 0.7777 MB / 1.323 GB, free: 4.074 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002639/1.116, allocations: 1.023 MB / 1.324 GB, free: 3.059 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003061/1.119, allocations: 2.093 MB / 1.326 GB, free: 0.957 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001727/1.121, allocations: 1.115 MB / 1.327 GB, free: 15.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/1.122, allocations: 0.8254 MB / 1.328 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/1.123, allocations: 0.8792 MB / 1.329 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000305/1.123, allocations: 220 kB / 1.329 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/1.125, allocations: 0.5816 MB / 1.329 GB, free: 13.28 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004946/1.125, allocations: 490.5 kB / 1.33 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/1.126, allocations: 0.972 MB / 1.331 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003498/1.13, allocations: 2.67 MB / 1.333 GB, free: 9.145 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/1.13, allocations: 15.92 kB / 1.333 GB, free: 9.129 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.754e-06/1.13, allocations: 0 / 1.333 GB, free: 9.129 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.519e-05/1.13, allocations: 0 / 1.333 GB, free: 9.129 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.004237/1.134, allocations: 2.089 MB / 1.335 GB, free: 6.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/1.134, allocations: 16.92 kB / 1.336 GB, free: 6.965 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/1.135, allocations: 267.6 kB / 1.336 GB, free: 6.703 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/1.137, allocations: 0.9937 MB / 1.337 GB, free: 5.664 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/1.137, allocations: 140.8 kB / 1.337 GB, free: 5.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/1.137, allocations: 152 kB / 1.337 GB, free: 5.371 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/1.14, allocations: 1.593 MB / 1.339 GB, free: 3.723 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/1.14, allocations: 7.938 kB / 1.339 GB, free: 3.715 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/1.141, allocations: 63.98 kB / 1.339 GB, free: 3.652 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.024e-05/1.141, allocations: 40 kB / 1.339 GB, free: 3.613 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002834/1.143, allocations: 1.592 MB / 1.34 GB, free: 2.016 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.007886/1.151, allocations: 4.702 MB / 1.345 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/1.154, allocations: 1.094 MB / 1.346 GB, free: 12.03 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008054/1.154, allocations: 431.7 kB / 1.346 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/1.155, allocations: 45.06 kB / 1.346 GB, free: 11.56 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001329/1.156, allocations: 0.7009 MB / 1.347 GB, free: 10.84 MB / 1.076 GB Notification: Performance of pre-optimization done (n=111): time 2.945e-06/1.156, allocations: 0 / 1.347 GB, free: 10.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=111): time 0.004359/1.16, allocations: 1.665 MB / 1.349 GB, free: 9.148 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/1.16, allocations: 192.9 kB / 1.349 GB, free: 8.918 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/1.162, allocations: 0.8376 MB / 1.35 GB, free: 8.074 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/1.162, allocations: 49.7 kB / 1.35 GB, free: 8.02 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006301/1.162, allocations: 0.6299 MB / 1.35 GB, free: 7.383 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003762/1.163, allocations: 384.8 kB / 1.351 GB, free: 7.004 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003895/1.163, allocations: 226.7 kB / 1.351 GB, free: 6.777 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001905/1.163, allocations: 349.9 kB / 1.351 GB, free: 6.43 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00085/1.164, allocations: 406.4 kB / 1.352 GB, free: 6.031 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009787/1.165, allocations: 0.5033 MB / 1.352 GB, free: 5.512 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/1.167, allocations: 0.8877 MB / 1.353 GB, free: 4.609 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/1.167, allocations: 4.062 kB / 1.353 GB, free: 4.605 MB / 1.076 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002924/1.17, allocations: 1.219 MB / 1.354 GB, free: 3.375 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/1.17, allocations: 4 kB / 1.354 GB, free: 3.371 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/1.17, allocations: 8.125 kB / 1.354 GB, free: 3.363 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006149/1.171, allocations: 76.78 kB / 1.354 GB, free: 3.285 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/1.172, allocations: 231.7 kB / 1.354 GB, free: 3.059 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/1.174, allocations: 1.652 MB / 1.356 GB, free: 1.266 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/1.175, allocations: 131.3 kB / 1.356 GB, free: 1.137 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/1.175, allocations: 51.95 kB / 1.356 GB, free: 1.086 MB / 1.076 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.0007642/1.176, allocations: 352.4 kB / 1.357 GB, free: 0.7305 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/1.176, allocations: 127.2 kB / 1.357 GB, free: 0.6055 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003543/1.18, allocations: 1.524 MB / 1.358 GB, free: 15.07 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/1.18, allocations: 20 kB / 1.358 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.18, allocations: 4 kB / 1.358 GB, free: 15.04 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-05/1.18, allocations: 3.984 kB / 1.358 GB, free: 15.04 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/1.182, allocations: 1.376 MB / 1.36 GB, free: 13.61 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.182, allocations: 0 / 1.36 GB, free: 13.61 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008614/1.183, allocations: 203.6 kB / 1.36 GB, free: 13.41 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/1.183, allocations: 72.78 kB / 1.36 GB, free: 13.34 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.999e-05/1.183, allocations: 35.97 kB / 1.36 GB, free: 13.3 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/1.186, allocations: 1.67 MB / 1.362 GB, free: 11.48 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.186, allocations: 0 / 1.362 GB, free: 11.48 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/1.189, allocations: 1.289 MB / 1.363 GB, free: 10.17 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006881/1.189, allocations: 364 kB / 1.363 GB, free: 9.793 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/1.19, allocations: 35.97 kB / 1.363 GB, free: 9.758 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008486/1.191, allocations: 82.73 kB / 1.363 GB, free: 9.68 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002394/1.191, allocations: 105.1 kB / 1.363 GB, free: 9.578 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/1.191, allocations: 52.02 kB / 1.363 GB, free: 9.527 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009646/1.192, allocations: 0.6096 MB / 1.364 GB, free: 8.906 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.8e-07/1.192, allocations: 0 / 1.364 GB, free: 8.906 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001294/1.193, allocations: 490.6 kB / 1.364 GB, free: 8.426 MB / 1.092 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.00205/1.195, allocations: 0.6182 MB / 1.365 GB, free: 7.965 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0025/1.198, allocations: 1.154 MB / 1.366 GB, free: 6.801 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.198, allocations: 4.25 kB / 1.366 GB, free: 6.797 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/1.199, allocations: 0.6816 MB / 1.367 GB, free: 6.102 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/1.201, allocations: 360.3 kB / 1.367 GB, free: 5.766 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00469/1.205, allocations: 2.509 MB / 1.37 GB, free: 3.227 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.206, allocations: 1.224 MB / 1.371 GB, free: 1.969 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001127/1.207, allocations: 317.2 kB / 1.371 GB, free: 1.656 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004077/1.208, allocations: 147.4 kB / 1.371 GB, free: 1.512 MB / 1.092 GB Notification: Performance of SimCode: time 8.72e-07/1.208, allocations: 0 / 1.371 GB, free: 1.512 MB / 1.092 GB Notification: Performance of Templates: time 0.03883/1.247, allocations: 20.99 MB / 1.392 GB, free: 12.69 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches