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.001647/0.001647, allocations: 107.9 kB / 16.41 MB, free: 6.512 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.001928/0.001928, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.338/1.338, 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 11.0.1-master/package.mo): time 2.491/2.491, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 59.89 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7044/0.7059, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008643/0.7145, allocations: 7.035 MB / 1.215 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1554/0.87, allocations: 151.2 MB / 1.363 GB, free: 14.83 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.8716, allocations: 23.88 kB / 1.363 GB, free: 14.8 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.8727, allocations: 269.4 kB / 1.363 GB, free: 14.54 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003353/0.8761, allocations: 0.7681 MB / 1.364 GB, free: 13.77 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002803/0.879, allocations: 1.031 MB / 1.365 GB, free: 12.75 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00311/0.8821, allocations: 2.101 MB / 1.367 GB, free: 10.64 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001851/0.8839, allocations: 1.107 MB / 1.368 GB, free: 9.48 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001324/0.8853, allocations: 0.8293 MB / 1.369 GB, free: 8.648 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.8866, allocations: 0.8792 MB / 1.37 GB, free: 7.766 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004948/0.8871, allocations: 224 kB / 1.37 GB, free: 7.547 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.8885, allocations: 0.5777 MB / 1.37 GB, free: 6.969 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005157/0.889, allocations: 494.5 kB / 1.371 GB, free: 6.484 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.89, allocations: 0.9759 MB / 1.372 GB, free: 5.504 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002777/0.8928, allocations: 2.665 MB / 1.375 GB, free: 2.832 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8928, allocations: 0 / 1.375 GB, free: 2.832 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8929, allocations: 0 / 1.375 GB, free: 2.832 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.366e-05/0.8929, allocations: 0 / 1.375 GB, free: 2.832 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.003773/0.8967, allocations: 2.041 MB / 1.376 GB, free: 0.7305 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.8967, allocations: 8.031 kB / 1.377 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.8978, allocations: 258.6 kB / 1.377 GB, free: 480 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.8992, allocations: 0.9968 MB / 1.378 GB, free: 15.43 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.8993, allocations: 144.8 kB / 1.378 GB, free: 15.28 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/0.8995, allocations: 148 kB / 1.378 GB, free: 15.14 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/0.9022, allocations: 1.596 MB / 1.38 GB, free: 13.48 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.9022, allocations: 0 / 1.38 GB, free: 13.48 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.9024, allocations: 64 kB / 1.38 GB, free: 13.42 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.9024, allocations: 40 kB / 1.38 GB, free: 13.38 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002519/0.9049, allocations: 1.596 MB / 1.381 GB, free: 11.78 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.006603/0.9115, allocations: 4.669 MB / 1.386 GB, free: 6.922 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.9134, allocations: 1.09 MB / 1.387 GB, free: 5.832 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007254/0.9142, allocations: 431.7 kB / 1.387 GB, free: 5.402 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.996e-05/0.9143, allocations: 45.08 kB / 1.387 GB, free: 5.359 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001172/0.9155, allocations: 0.7036 MB / 1.388 GB, free: 4.641 MB / 1.107 GB Notification: Performance of pre-optimization done (n=111): time 4.929e-06/0.9155, allocations: 0 / 1.388 GB, free: 4.641 MB / 1.107 GB Notification: Performance of matching and sorting (n=111): time 0.003944/0.9194, allocations: 1.653 MB / 1.39 GB, free: 2.957 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.9196, allocations: 192.9 kB / 1.39 GB, free: 2.727 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.9206, allocations: 0.8415 MB / 1.391 GB, free: 1.875 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-05/0.9207, allocations: 53.7 kB / 1.391 GB, free: 1.816 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004359/0.9212, allocations: 0.6283 MB / 1.391 GB, free: 1.18 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/0.9214, allocations: 358.8 kB / 1.392 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003257/0.9218, allocations: 222.8 kB / 1.392 GB, free: 0.6016 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.9219, allocations: 349.9 kB / 1.392 GB, free: 260 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000761/0.9227, allocations: 398.4 kB / 1.393 GB, free: 15.86 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008883/0.9236, allocations: 0.5111 MB / 1.393 GB, free: 15.34 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.9251, allocations: 0.8877 MB / 1.394 GB, free: 14.43 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.9252, allocations: 0 / 1.394 GB, free: 14.43 MB / 1.123 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002549/0.9277, allocations: 1.207 MB / 1.395 GB, free: 13.21 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.9277, allocations: 11.94 kB / 1.395 GB, free: 13.2 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.9278, allocations: 0 / 1.395 GB, free: 13.2 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006018/0.9284, allocations: 84.83 kB / 1.395 GB, free: 13.12 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009728/0.9293, allocations: 239.7 kB / 1.395 GB, free: 12.88 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.9314, allocations: 1.65 MB / 1.397 GB, free: 11.09 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009963/0.9324, allocations: 132.8 kB / 1.397 GB, free: 10.96 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.94e-05/0.9325, allocations: 52.03 kB / 1.397 GB, free: 10.91 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.0006082/0.9332, allocations: 348.2 kB / 1.398 GB, free: 10.55 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.9334, allocations: 110.6 kB / 1.398 GB, free: 10.45 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/0.9366, allocations: 1.532 MB / 1.399 GB, free: 8.898 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.9366, allocations: 7.969 kB / 1.399 GB, free: 8.891 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.9366, allocations: 0 / 1.399 GB, free: 8.891 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004646/0.9371, allocations: 355.2 kB / 1.399 GB, free: 8.523 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.9373, allocations: 35.92 kB / 1.4 GB, free: 8.488 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008787/0.9381, allocations: 87.91 kB / 1.4 GB, free: 8.402 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.9383, allocations: 101.1 kB / 1.4 GB, free: 8.305 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002668/0.941, allocations: 1.302 MB / 1.401 GB, free: 6.992 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003145/0.9442, allocations: 1.933 MB / 1.403 GB, free: 5.039 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008148/0.945, allocations: 0.5061 MB / 1.403 GB, free: 4.535 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008524/0.9459, allocations: 0.6135 MB / 1.404 GB, free: 3.91 MB / 1.123 GB Notification: Performance of Backend: time 5.31e-07/0.9459, allocations: 0 / 1.404 GB, free: 3.91 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00355/0.9494, allocations: 1.471 MB / 1.405 GB, free: 2.66 MB / 1.123 GB Notification: Performance of SimCode: time 0.00391/0.9533, allocations: 2.782 MB / 1.408 GB, free: 15.84 MB / 1.139 GB Notification: Performance of Templates: time 0.03501/0.9884, allocations: 22.51 MB / 1.43 GB, free: 9.531 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches