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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008856/0.008856, allocations: 102 kB / 15.73 MB, free: 6.039 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.002068/0.002068, allocations: 194 kB / 16.67 MB, free: 5.961 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.559/2.559, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 1.054 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.024, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009712/1.033, allocations: 7.031 MB / 1.215 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1946/1.228, allocations: 151.1 MB / 1.362 GB, free: 14.84 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002072/1.23, allocations: 23.88 kB / 1.362 GB, free: 14.82 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/1.232, allocations: 261.4 kB / 1.362 GB, free: 14.56 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003427/1.235, allocations: 0.7793 MB / 1.363 GB, free: 13.79 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003013/1.238, allocations: 1.01 MB / 1.364 GB, free: 12.78 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003132/1.241, allocations: 2.105 MB / 1.366 GB, free: 10.67 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001986/1.243, allocations: 1.111 MB / 1.367 GB, free: 9.508 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/1.245, allocations: 0.8293 MB / 1.368 GB, free: 8.676 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/1.246, allocations: 0.8831 MB / 1.369 GB, free: 7.789 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005665/1.247, allocations: 223.9 kB / 1.369 GB, free: 7.57 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/1.248, allocations: 0.5699 MB / 1.37 GB, free: 7 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007143/1.249, allocations: 494.5 kB / 1.37 GB, free: 6.516 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/1.25, allocations: 0.9759 MB / 1.371 GB, free: 5.535 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003157/1.254, allocations: 2.665 MB / 1.374 GB, free: 2.863 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.254, allocations: 0 / 1.374 GB, free: 2.863 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.17e-05/1.254, allocations: 4 kB / 1.374 GB, free: 2.859 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.865e-05/1.254, allocations: 0 / 1.374 GB, free: 2.859 MB / 1.092 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.003655/1.257, allocations: 2.037 MB / 1.376 GB, free: 0.7617 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/1.257, allocations: 12.03 kB / 1.376 GB, free: 0.75 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/1.258, allocations: 254.6 kB / 1.376 GB, free: 0.5 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/1.26, allocations: 0.9929 MB / 1.377 GB, free: 15.46 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/1.26, allocations: 140.8 kB / 1.377 GB, free: 15.32 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/1.26, allocations: 163.9 kB / 1.377 GB, free: 15.16 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002682/1.263, allocations: 1.589 MB / 1.379 GB, free: 13.52 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/1.263, allocations: 0 / 1.379 GB, free: 13.52 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/1.263, allocations: 64 kB / 1.379 GB, free: 13.45 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.42e-05/1.263, allocations: 40 kB / 1.379 GB, free: 13.41 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002699/1.266, allocations: 1.6 MB / 1.381 GB, free: 11.81 MB / 1.107 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.007128/1.273, allocations: 4.666 MB / 1.385 GB, free: 6.953 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/1.275, allocations: 1.094 MB / 1.386 GB, free: 5.859 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006889/1.276, allocations: 427.7 kB / 1.387 GB, free: 5.434 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-05/1.276, allocations: 44.91 kB / 1.387 GB, free: 5.391 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00121/1.277, allocations: 0.7036 MB / 1.387 GB, free: 4.672 MB / 1.107 GB Notification: Performance of pre-optimization done (n=111): time 2.755e-06/1.277, allocations: 0 / 1.387 GB, free: 4.672 MB / 1.107 GB Notification: Performance of matching and sorting (n=111): time 0.003961/1.281, allocations: 1.661 MB / 1.389 GB, free: 2.98 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/1.281, allocations: 196.9 kB / 1.389 GB, free: 2.746 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/1.282, allocations: 0.8415 MB / 1.39 GB, free: 1.895 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001246/1.283, allocations: 57.64 kB / 1.39 GB, free: 1.832 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005496/1.283, allocations: 0.6167 MB / 1.391 GB, free: 1.207 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/1.284, allocations: 354.8 kB / 1.391 GB, free: 0.8555 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003488/1.284, allocations: 226.8 kB / 1.391 GB, free: 0.6289 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.284, allocations: 345.9 kB / 1.391 GB, free: 292 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007483/1.285, allocations: 398.4 kB / 1.392 GB, free: 15.89 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008837/1.286, allocations: 0.5111 MB / 1.392 GB, free: 15.37 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/1.287, allocations: 0.8916 MB / 1.393 GB, free: 14.46 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/1.287, allocations: 0 / 1.393 GB, free: 14.46 MB / 1.123 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002676/1.29, allocations: 1.207 MB / 1.394 GB, free: 13.24 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/1.29, allocations: 4 kB / 1.394 GB, free: 13.24 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/1.29, allocations: 8 kB / 1.394 GB, free: 13.23 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006198/1.291, allocations: 88.83 kB / 1.394 GB, free: 13.14 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009723/1.292, allocations: 235.6 kB / 1.395 GB, free: 12.91 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/1.294, allocations: 1.646 MB / 1.396 GB, free: 11.12 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/1.295, allocations: 126.9 kB / 1.396 GB, free: 10.99 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/1.295, allocations: 60.02 kB / 1.396 GB, free: 10.93 MB / 1.123 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.0007357/1.296, allocations: 348.4 kB / 1.397 GB, free: 10.58 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/1.296, allocations: 118.6 kB / 1.397 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003312/1.3, allocations: 1.528 MB / 1.398 GB, free: 8.922 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/1.3, allocations: 16 kB / 1.398 GB, free: 8.906 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.3, allocations: 0 / 1.398 GB, free: 8.906 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/1.3, allocations: 7.969 kB / 1.398 GB, free: 8.898 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/1.302, allocations: 1.372 MB / 1.4 GB, free: 7.477 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/1.302, allocations: 0 / 1.4 GB, free: 7.477 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008195/1.302, allocations: 199.7 kB / 1.4 GB, free: 7.281 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000458/1.303, allocations: 68.78 kB / 1.4 GB, free: 7.211 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.783e-05/1.303, allocations: 39.97 kB / 1.4 GB, free: 7.172 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/1.305, allocations: 1.67 MB / 1.402 GB, free: 5.359 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.305, allocations: 0 / 1.402 GB, free: 5.359 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002666/1.308, allocations: 1.285 MB / 1.403 GB, free: 4.047 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006197/1.308, allocations: 371.2 kB / 1.403 GB, free: 3.664 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/1.309, allocations: 27.98 kB / 1.403 GB, free: 3.637 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008338/1.309, allocations: 85.94 kB / 1.403 GB, free: 3.555 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/1.31, allocations: 97.17 kB / 1.404 GB, free: 3.461 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/1.31, allocations: 47.97 kB / 1.404 GB, free: 3.414 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008055/1.311, allocations: 0.6213 MB / 1.404 GB, free: 2.781 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.8e-07/1.311, allocations: 0 / 1.404 GB, free: 2.781 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001173/1.312, allocations: 474.5 kB / 1.405 GB, free: 2.316 MB / 1.123 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.001391/1.313, allocations: 0.6274 MB / 1.405 GB, free: 1.867 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002287/1.315, allocations: 1.15 MB / 1.406 GB, free: 0.707 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.315, allocations: 0 / 1.406 GB, free: 0.707 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/1.317, allocations: 0.6894 MB / 1.407 GB, free: 4 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/1.318, allocations: 352.8 kB / 1.407 GB, free: 15.67 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004124/1.322, allocations: 2.463 MB / 1.41 GB, free: 13.18 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000842/1.323, allocations: 1.221 MB / 1.411 GB, free: 11.93 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000981/1.324, allocations: 313.3 kB / 1.411 GB, free: 11.62 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003721/1.324, allocations: 147.3 kB / 1.411 GB, free: 11.48 MB / 1.139 GB Notification: Performance of SimCode: time 4.31e-07/1.324, allocations: 0 / 1.411 GB, free: 11.48 MB / 1.139 GB Notification: Performance of Templates: time 0.0367/1.361, allocations: 21.28 MB / 1.432 GB, free: 6.406 MB / 1.154 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches