Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001572/0.001571, allocations: 105.2 kB / 16.4 MB, free: 6.508 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.001697/0.001697, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.266/2.266, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 55.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9077/0.9092, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.0067/0.9159, allocations: 5.326 MB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1943/1.11, allocations: 151 MB / 1.241 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001696/1.112, allocations: 23 kB / 1.241 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/1.113, allocations: 207.9 kB / 1.241 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003044/1.116, allocations: 0.6462 MB / 1.242 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003218/1.119, allocations: 0.9942 MB / 1.243 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002767/1.122, allocations: 1.817 MB / 1.245 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002046/1.124, allocations: 1.168 MB / 1.246 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/1.126, allocations: 0.7857 MB / 1.247 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/1.127, allocations: 0.8362 MB / 1.248 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005742/1.128, allocations: 220 kB / 1.248 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/1.129, allocations: 0.5699 MB / 1.248 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006504/1.13, allocations: 498.5 kB / 1.249 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001373/1.131, allocations: 0.9095 MB / 1.25 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003153/1.134, allocations: 2.572 MB / 1.252 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/1.134, allocations: 0 / 1.252 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.813e-06/1.134, allocations: 4 kB / 1.252 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.58e-05/1.134, allocations: 0 / 1.252 GB, free: 6.141 MB / 0.9825 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.003887/1.138, allocations: 2.002 MB / 1.254 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/1.138, allocations: 8.031 kB / 1.254 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/1.14, allocations: 254.6 kB / 1.254 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/1.141, allocations: 0.9968 MB / 1.255 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/1.141, allocations: 140.8 kB / 1.255 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/1.142, allocations: 152 kB / 1.256 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/1.144, allocations: 1.593 MB / 1.257 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/1.145, allocations: 3.938 kB / 1.257 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/1.145, allocations: 60 kB / 1.257 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/1.145, allocations: 44 kB / 1.257 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/1.147, allocations: 1.596 MB / 1.259 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00682/1.154, allocations: 4.193 MB / 1.263 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/1.156, allocations: 1.086 MB / 1.264 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007235/1.157, allocations: 431.7 kB / 1.264 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.721e-05/1.157, allocations: 45.02 kB / 1.264 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001235/1.158, allocations: 0.6958 MB / 1.265 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=111): time 2.996e-06/1.158, allocations: 0 / 1.265 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=111): time 0.003992/1.162, allocations: 1.645 MB / 1.267 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/1.162, allocations: 200.9 kB / 1.267 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/1.164, allocations: 0.8414 MB / 1.268 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/1.164, allocations: 61.64 kB / 1.268 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005745/1.165, allocations: 0.6128 MB / 1.268 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003379/1.165, allocations: 355 kB / 1.269 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003808/1.165, allocations: 222.7 kB / 1.269 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.165, allocations: 353.9 kB / 1.269 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008044/1.166, allocations: 390.4 kB / 1.27 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009533/1.167, allocations: 0.5188 MB / 1.27 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/1.169, allocations: 0.8799 MB / 1.271 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.076e-06/1.169, allocations: 4 kB / 1.271 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002863/1.172, allocations: 1.207 MB / 1.272 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/1.172, allocations: 7.938 kB / 1.272 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.172, allocations: 0 / 1.272 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000632/1.173, allocations: 88.83 kB / 1.272 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009867/1.174, allocations: 223.7 kB / 1.273 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/1.176, allocations: 1.65 MB / 1.274 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/1.177, allocations: 129.4 kB / 1.274 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/1.177, allocations: 56.02 kB / 1.274 GB, free: 14.89 MB / 1.014 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.0007828/1.178, allocations: 352.4 kB / 1.275 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003467/1.178, allocations: 110.7 kB / 1.275 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003533/1.182, allocations: 1.528 MB / 1.276 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/1.182, allocations: 12 kB / 1.276 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/1.182, allocations: 8 kB / 1.276 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/1.182, allocations: 3.984 kB / 1.276 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/1.184, allocations: 1.372 MB / 1.278 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.184, allocations: 0 / 1.278 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008599/1.185, allocations: 203.7 kB / 1.278 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004594/1.185, allocations: 68.78 kB / 1.278 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.855e-05/1.185, allocations: 35.97 kB / 1.278 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/1.188, allocations: 1.674 MB / 1.28 GB, free: 9.305 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.188, allocations: 0 / 1.28 GB, free: 9.305 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002816/1.19, allocations: 1.277 MB / 1.281 GB, free: 8.004 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006255/1.191, allocations: 359.2 kB / 1.281 GB, free: 7.633 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/1.191, allocations: 43.83 kB / 1.281 GB, free: 7.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009609/1.192, allocations: 75.92 kB / 1.281 GB, free: 7.516 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/1.192, allocations: 105.1 kB / 1.281 GB, free: 7.414 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/1.193, allocations: 47.97 kB / 1.281 GB, free: 7.367 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00101/1.194, allocations: 0.6213 MB / 1.282 GB, free: 6.734 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.4e-07/1.194, allocations: 4 kB / 1.282 GB, free: 6.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001279/1.195, allocations: 446.5 kB / 1.282 GB, free: 6.293 MB / 1.014 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.001544/1.196, allocations: 0.6114 MB / 1.283 GB, free: 5.859 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002508/1.199, allocations: 1.158 MB / 1.284 GB, free: 4.688 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.199, allocations: 0 / 1.284 GB, free: 4.688 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/1.2, allocations: 0.6739 MB / 1.285 GB, free: 4.004 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/1.202, allocations: 316.7 kB / 1.285 GB, free: 3.711 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006132/1.208, allocations: 2.623 MB / 1.288 GB, free: 1.051 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/1.209, allocations: 1.216 MB / 1.289 GB, free: 15.8 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005874/1.21, allocations: 163.3 kB / 1.289 GB, free: 15.64 MB / 1.029 GB Notification: Performance of SimCode: time 1.253e-06/1.21, allocations: 0 / 1.289 GB, free: 15.64 MB / 1.029 GB Notification: Performance of Templates: time 0.03828/1.248, allocations: 26.92 MB / 1.315 GB, free: 4.781 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches