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.009481/0.009481, allocations: 98.3 kB / 15.73 MB, free: 6.004 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.002333/0.002333, allocations: 193.2 kB / 16.67 MB, free: 5.934 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.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.695/2.695, allocations: 437 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.89 kB / 1.018 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3434, allocations: 151.6 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009103/0.3525, allocations: 7.081 MB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.8315/1.184, allocations: 151.2 MB / 1.321 GB, free: 8.672 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/1.185, allocations: 17.84 kB / 1.321 GB, free: 8.668 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008001/1.186, allocations: 264.5 kB / 1.321 GB, free: 8.523 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002355/1.189, allocations: 0.7837 MB / 1.322 GB, free: 8.141 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002409/1.191, allocations: 1.016 MB / 1.323 GB, free: 7.949 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002507/1.193, allocations: 2.093 MB / 1.325 GB, free: 7.43 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/1.195, allocations: 1.112 MB / 1.326 GB, free: 6.832 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/1.196, allocations: 0.825 MB / 1.327 GB, free: 6.41 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/1.197, allocations: 0.8823 MB / 1.328 GB, free: 5.93 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002712/1.198, allocations: 218.8 kB / 1.328 GB, free: 5.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/1.199, allocations: 0.5751 MB / 1.329 GB, free: 5.812 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004499/1.199, allocations: 493.9 kB / 1.329 GB, free: 5.48 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008597/1.2, allocations: 0.971 MB / 1.33 GB, free: 4.84 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003272/1.204, allocations: 2.678 MB / 1.333 GB, free: 3.691 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/1.204, allocations: 0 / 1.333 GB, free: 3.691 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.703e-06/1.204, allocations: 0 / 1.333 GB, free: 3.691 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.45e-05/1.204, allocations: 0.9688 kB / 1.333 GB, free: 3.691 MB / 1.014 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.004066/1.208, allocations: 2.09 MB / 1.335 GB, free: 2.336 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/1.208, allocations: 9.344 kB / 1.335 GB, free: 2.336 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/1.209, allocations: 273.4 kB / 1.335 GB, free: 2.223 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/1.21, allocations: 0.9988 MB / 1.336 GB, free: 1.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/1.211, allocations: 145.7 kB / 1.336 GB, free: 1.488 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/1.211, allocations: 152.8 kB / 1.336 GB, free: 1.438 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/1.214, allocations: 1.593 MB / 1.338 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/1.214, allocations: 1.406 kB / 1.338 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/1.214, allocations: 68.19 kB / 1.338 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.642e-05/1.214, allocations: 38.06 kB / 1.338 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002657/1.216, allocations: 1.595 MB / 1.34 GB, free: 248 kB / 1.014 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.007913/1.224, allocations: 4.705 MB / 1.344 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/1.227, allocations: 1.091 MB / 1.345 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008173/1.227, allocations: 431.6 kB / 1.346 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/1.228, allocations: 44.02 kB / 1.346 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001306/1.229, allocations: 0.7063 MB / 1.346 GB, free: 12.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=111): time 2.725e-06/1.229, allocations: 0 / 1.346 GB, free: 12.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=111): time 0.004379/1.233, allocations: 1.656 MB / 1.348 GB, free: 11.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/1.233, allocations: 200.9 kB / 1.348 GB, free: 11.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/1.235, allocations: 0.8458 MB / 1.349 GB, free: 11.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/1.235, allocations: 47.7 kB / 1.349 GB, free: 11.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005473/1.235, allocations: 0.6331 MB / 1.35 GB, free: 10.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/1.236, allocations: 377.1 kB / 1.35 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000335/1.236, allocations: 225.1 kB / 1.35 GB, free: 10.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.236, allocations: 347.7 kB / 1.351 GB, free: 9.996 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007149/1.237, allocations: 401.9 kB / 1.351 GB, free: 9.844 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008731/1.238, allocations: 0.5114 MB / 1.351 GB, free: 9.609 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/1.239, allocations: 0.8896 MB / 1.352 GB, free: 9.184 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.239, allocations: 0 / 1.352 GB, free: 9.184 MB / 1.029 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002656/1.242, allocations: 1.21 MB / 1.353 GB, free: 8.684 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.242, allocations: 5.281 kB / 1.353 GB, free: 8.684 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.242, allocations: 2 kB / 1.353 GB, free: 8.684 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006228/1.243, allocations: 89.69 kB / 1.354 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009657/1.244, allocations: 234.5 kB / 1.354 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/1.246, allocations: 1.655 MB / 1.355 GB, free: 6.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/1.248, allocations: 130.2 kB / 1.356 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/1.248, allocations: 55.48 kB / 1.356 GB, free: 6.871 MB / 1.029 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.001156/1.249, allocations: 350 kB / 1.356 GB, free: 6.609 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/1.249, allocations: 118 kB / 1.356 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003587/1.253, allocations: 1.535 MB / 1.358 GB, free: 5.684 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/1.253, allocations: 12.22 kB / 1.358 GB, free: 5.684 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.253, allocations: 0.5625 kB / 1.358 GB, free: 5.684 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/1.253, allocations: 11.91 kB / 1.358 GB, free: 5.672 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/1.255, allocations: 1.375 MB / 1.359 GB, free: 4.664 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/1.255, allocations: 4 kB / 1.359 GB, free: 4.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008384/1.256, allocations: 194.2 kB / 1.359 GB, free: 4.617 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004632/1.257, allocations: 75.19 kB / 1.359 GB, free: 4.578 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-05/1.257, allocations: 42.47 kB / 1.359 GB, free: 4.551 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/1.259, allocations: 1.659 MB / 1.361 GB, free: 2.938 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.259, allocations: 0 / 1.361 GB, free: 2.938 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/1.261, allocations: 1.298 MB / 1.362 GB, free: 2.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006014/1.262, allocations: 366 kB / 1.362 GB, free: 1.934 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/1.262, allocations: 30.47 kB / 1.362 GB, free: 1.914 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/1.263, allocations: 80.88 kB / 1.363 GB, free: 1.875 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/1.263, allocations: 97.55 kB / 1.363 GB, free: 1.824 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/1.264, allocations: 55.55 kB / 1.363 GB, free: 1.801 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009915/1.265, allocations: 0.6165 MB / 1.363 GB, free: 1.441 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.265, allocations: 0 / 1.363 GB, free: 1.441 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001528/1.266, allocations: 487.5 kB / 1.364 GB, free: 1.297 MB / 1.029 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.001612/1.268, allocations: 0.6111 MB / 1.364 GB, free: 1.004 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002373/1.27, allocations: 1.151 MB / 1.365 GB, free: 424 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.27, allocations: 0 / 1.365 GB, free: 424 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/1.271, allocations: 0.6911 MB / 1.366 GB, free: 36 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/1.273, allocations: 354.5 kB / 1.366 GB, free: 15.84 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004947/1.278, allocations: 2.504 MB / 1.369 GB, free: 14.37 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/1.279, allocations: 1.233 MB / 1.37 GB, free: 13.43 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001101/1.28, allocations: 314.8 kB / 1.37 GB, free: 13.28 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004561/1.28, allocations: 148.8 kB / 1.371 GB, free: 13.23 MB / 1.045 GB Notification: Performance of SimCode: time 9.72e-07/1.281, allocations: 4 kB / 1.371 GB, free: 13.22 MB / 1.045 GB Notification: Performance of Templates: time 0.03794/1.318, allocations: 20.86 MB / 1.391 GB, free: 14.17 MB / 1.061 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches