Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001643, allocations: 107.7 kB / 16.37 MB, free: 6.477 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.001813/0.001813, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.428/2.428, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 64.41 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3773, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006856/0.3842, allocations: 4.873 MB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.8431/1.227, allocations: 150.6 MB / 1.179 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/1.228, allocations: 18.91 kB / 1.179 GB, free: 6.742 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006579/1.229, allocations: 189.8 kB / 1.179 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002118/1.231, allocations: 0.5302 MB / 1.179 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002379/1.234, allocations: 0.8414 MB / 1.18 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002212/1.236, allocations: 1.379 MB / 1.181 GB, free: 5 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/1.237, allocations: 0.576 MB / 1.182 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/1.238, allocations: 486 kB / 1.182 GB, free: 4.367 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007738/1.239, allocations: 0.4893 MB / 1.183 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002198/1.239, allocations: 114.8 kB / 1.183 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/1.24, allocations: 493.9 kB / 1.183 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003661/1.241, allocations: 285.3 kB / 1.184 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008026/1.241, allocations: 0.5585 MB / 1.184 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003115/1.245, allocations: 1.615 MB / 1.186 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.184e-05/1.245, allocations: 0 / 1.186 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.838e-06/1.245, allocations: 5.469 kB / 1.186 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.762e-05/1.245, allocations: 0 / 1.186 GB, free: 2.043 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003709/1.248, allocations: 1.421 MB / 1.187 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/1.248, allocations: 9.25 kB / 1.187 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009489/1.249, allocations: 191 kB / 1.187 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/1.251, allocations: 0.7604 MB / 1.188 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.499e-05/1.251, allocations: 63.86 kB / 1.188 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/1.251, allocations: 81.69 kB / 1.188 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/1.253, allocations: 0.911 MB / 1.189 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/1.253, allocations: 2.594 kB / 1.189 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.05e-05/1.253, allocations: 40.09 kB / 1.189 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/1.253, allocations: 21 kB / 1.189 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/1.255, allocations: 1.1 MB / 1.19 GB, free: 15 MB / 0.9044 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.004477/1.259, allocations: 2.669 MB / 1.193 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/1.261, allocations: 0.7991 MB / 1.194 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005161/1.261, allocations: 296.2 kB / 1.194 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-05/1.261, allocations: 33.89 kB / 1.194 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008584/1.262, allocations: 0.4975 MB / 1.195 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=80): time 2.464e-06/1.262, allocations: 0 / 1.195 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=80): time 0.003371/1.266, allocations: 1.189 MB / 1.196 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/1.266, allocations: 188.6 kB / 1.196 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000944/1.267, allocations: 0.6364 MB / 1.197 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.973e-05/1.267, allocations: 38.23 kB / 1.197 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/1.267, allocations: 404.8 kB / 1.197 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/1.268, allocations: 251 kB / 1.197 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002761/1.268, allocations: 165.2 kB / 1.197 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002025/1.268, allocations: 387.5 kB / 1.198 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005363/1.269, allocations: 268 kB / 1.198 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006188/1.269, allocations: 369.6 kB / 1.198 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/1.27, allocations: 0.5998 MB / 1.199 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.27, allocations: 0 / 1.199 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002052/1.272, allocations: 0.8542 MB / 1.2 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/1.272, allocations: 11.34 kB / 1.2 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.272, allocations: 3.938 kB / 1.2 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005904/1.273, allocations: 86.17 kB / 1.2 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006463/1.274, allocations: 153.7 kB / 1.2 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/1.276, allocations: 1.646 MB / 1.202 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008705/1.277, allocations: 91.8 kB / 1.202 GB, free: 6.781 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-05/1.277, allocations: 38.16 kB / 1.202 GB, free: 6.766 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.0005633/1.278, allocations: 272.6 kB / 1.202 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/1.278, allocations: 79.06 kB / 1.202 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/1.28, allocations: 1.053 MB / 1.203 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/1.28, allocations: 10.88 kB / 1.203 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/1.28, allocations: 3.75 kB / 1.203 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/1.28, allocations: 11.91 kB / 1.203 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/1.281, allocations: 0.8843 MB / 1.204 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/1.281, allocations: 0 / 1.204 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005623/1.282, allocations: 143.9 kB / 1.204 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004266/1.282, allocations: 68.08 kB / 1.204 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/1.282, allocations: 27.75 kB / 1.204 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/1.284, allocations: 1.667 MB / 1.206 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.284, allocations: 0 / 1.206 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/1.286, allocations: 0.9295 MB / 1.207 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/1.287, allocations: 275.6 kB / 1.207 GB, free: 2.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/1.287, allocations: 16.84 kB / 1.207 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005963/1.288, allocations: 62.34 kB / 1.207 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/1.288, allocations: 69.3 kB / 1.207 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.846e-05/1.288, allocations: 34.27 kB / 1.207 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006188/1.288, allocations: 457 kB / 1.208 GB, free: 2.438 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.11e-07/1.288, allocations: 0 / 1.208 GB, free: 2.438 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009618/1.289, allocations: 328.7 kB / 1.208 GB, free: 2.34 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001462/1.291, allocations: 0.598 MB / 1.209 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001855/1.293, allocations: 0.8296 MB / 1.209 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.293, allocations: 4.188 kB / 1.209 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009504/1.294, allocations: 0.515 MB / 1.21 GB, free: 1.23 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/1.295, allocations: 308.7 kB / 1.21 GB, free: 0.957 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/1.298, allocations: 1.627 MB / 1.212 GB, free: 15.3 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006124/1.299, allocations: 1.019 MB / 1.213 GB, free: 14.25 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008113/1.299, allocations: 254.7 kB / 1.213 GB, free: 14 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/1.3, allocations: 111.4 kB / 1.213 GB, free: 13.89 MB / 0.92 GB Notification: Performance of SimCode: time 1.723e-06/1.3, allocations: 0 / 1.213 GB, free: 13.89 MB / 0.92 GB Notification: Performance of Templates: time 0.02782/1.328, allocations: 15.03 MB / 1.228 GB, free: 15.05 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches