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.001569/0.001569, allocations: 110.4 kB / 16.42 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.001871/0.001871, allocations: 185.5 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.516/1.516, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.648/2.648, allocations: 469.4 MB / 0.7428 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 72.05 kB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7024/0.7037, allocations: 159.1 MB / 1.221 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008524/0.7123, allocations: 7.031 MB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1573/0.8696, allocations: 151.2 MB / 1.375 GB, free: 3.73 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.871, allocations: 27.81 kB / 1.375 GB, free: 3.703 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.8721, allocations: 265.4 kB / 1.376 GB, free: 3.441 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003425/0.8756, allocations: 0.7851 MB / 1.376 GB, free: 2.656 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.8784, allocations: 1.024 MB / 1.377 GB, free: 1.637 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003009/0.8814, allocations: 2.089 MB / 1.379 GB, free: 15.54 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.8832, allocations: 1.114 MB / 1.381 GB, free: 14.37 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.8845, allocations: 0.8255 MB / 1.381 GB, free: 13.54 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.886, allocations: 0.883 MB / 1.382 GB, free: 12.65 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0006272/0.8866, allocations: 220 kB / 1.382 GB, free: 12.44 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.8882, allocations: 0.5737 MB / 1.383 GB, free: 11.87 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007167/0.8889, allocations: 498.5 kB / 1.383 GB, free: 11.38 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001525/0.8905, allocations: 0.9681 MB / 1.384 GB, free: 10.41 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00377/0.8942, allocations: 2.667 MB / 1.387 GB, free: 7.73 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.8943, allocations: 7.938 kB / 1.387 GB, free: 7.723 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8943, allocations: 0 / 1.387 GB, free: 7.723 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.429e-05/0.8944, allocations: 0 / 1.387 GB, free: 7.723 MB / 1.107 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.00481/0.8992, allocations: 2.041 MB / 1.389 GB, free: 5.625 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.8992, allocations: 8.625 kB / 1.389 GB, free: 5.617 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.9005, allocations: 254.6 kB / 1.389 GB, free: 5.367 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.9022, allocations: 0.9929 MB / 1.39 GB, free: 4.328 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.9024, allocations: 144.8 kB / 1.39 GB, free: 4.18 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000234/0.9026, allocations: 160 kB / 1.39 GB, free: 4.023 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.9056, allocations: 1.589 MB / 1.392 GB, free: 2.379 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.9056, allocations: 3.938 kB / 1.392 GB, free: 2.375 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.9058, allocations: 71.94 kB / 1.392 GB, free: 2.305 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.402e-05/0.9058, allocations: 40 kB / 1.392 GB, free: 2.266 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002748/0.9086, allocations: 1.588 MB / 1.394 GB, free: 0.6719 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.007084/0.9157, allocations: 4.672 MB / 1.398 GB, free: 11.81 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/0.9176, allocations: 1.094 MB / 1.399 GB, free: 10.71 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007354/0.9184, allocations: 427.7 kB / 1.4 GB, free: 10.29 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.92e-05/0.9185, allocations: 45.08 kB / 1.4 GB, free: 10.25 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00121/0.9197, allocations: 0.6997 MB / 1.4 GB, free: 9.535 MB / 1.123 GB Notification: Performance of pre-optimization done (n=111): time 2.975e-06/0.9197, allocations: 0 / 1.4 GB, free: 9.535 MB / 1.123 GB Notification: Performance of matching and sorting (n=111): time 0.003972/0.9237, allocations: 1.657 MB / 1.402 GB, free: 7.848 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.991e-05/0.9238, allocations: 192.9 kB / 1.402 GB, free: 7.617 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.925, allocations: 0.8492 MB / 1.403 GB, free: 6.762 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.9251, allocations: 49.7 kB / 1.403 GB, free: 6.707 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004604/0.9256, allocations: 0.6168 MB / 1.404 GB, free: 6.082 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/0.9259, allocations: 358.8 kB / 1.404 GB, free: 5.727 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003382/0.9262, allocations: 234.6 kB / 1.404 GB, free: 5.492 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.9263, allocations: 349.9 kB / 1.405 GB, free: 5.145 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007517/0.9271, allocations: 394.4 kB / 1.405 GB, free: 4.758 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008909/0.928, allocations: 0.5149 MB / 1.406 GB, free: 4.227 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.9296, allocations: 0.8877 MB / 1.406 GB, free: 3.328 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.9296, allocations: 0 / 1.406 GB, free: 3.328 MB / 1.123 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002641/0.9323, allocations: 1.215 MB / 1.408 GB, free: 2.102 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.9323, allocations: 8 kB / 1.408 GB, free: 2.094 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.9323, allocations: 0 / 1.408 GB, free: 2.094 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006073/0.9329, allocations: 80.83 kB / 1.408 GB, free: 2.012 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009928/0.934, allocations: 231.7 kB / 1.408 GB, free: 1.785 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/0.9364, allocations: 1.651 MB / 1.409 GB, free: 15.98 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.9375, allocations: 129 kB / 1.41 GB, free: 15.86 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.9376, allocations: 51.95 kB / 1.41 GB, free: 15.81 MB / 1.139 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.000664/0.9383, allocations: 356.8 kB / 1.41 GB, free: 15.45 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002847/0.9386, allocations: 110.6 kB / 1.41 GB, free: 15.34 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003495/0.9421, allocations: 1.532 MB / 1.412 GB, free: 13.79 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.9421, allocations: 3.984 kB / 1.412 GB, free: 13.79 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.9421, allocations: 0 / 1.412 GB, free: 13.79 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005983/0.9427, allocations: 359.2 kB / 1.412 GB, free: 13.42 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/0.943, allocations: 27.94 kB / 1.412 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009542/0.9439, allocations: 87.91 kB / 1.412 GB, free: 13.3 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.9441, allocations: 105.1 kB / 1.412 GB, free: 13.2 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002861/0.947, allocations: 1.299 MB / 1.413 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003261/0.9503, allocations: 1.937 MB / 1.415 GB, free: 9.941 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008286/0.9511, allocations: 0.5022 MB / 1.416 GB, free: 9.438 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008937/0.952, allocations: 0.6135 MB / 1.416 GB, free: 8.812 MB / 1.139 GB Notification: Performance of Backend: time 5.11e-07/0.9521, allocations: 0 / 1.416 GB, free: 8.812 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00387/0.9559, allocations: 1.477 MB / 1.418 GB, free: 7.555 MB / 1.139 GB Notification: Performance of SimCode: time 0.004242/0.9602, allocations: 2.779 MB / 1.421 GB, free: 4.73 MB / 1.139 GB Notification: Performance of Templates: time 0.0354/0.9956, allocations: 22.51 MB / 1.443 GB, free: 14.42 MB / 1.17 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