Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_9_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_9_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.001483/0.001483, allocations: 109.2 kB / 16.42 MB, free: 6.488 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.001524/0.001524, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.09 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.179/2.179, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7234/0.7248, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004913/0.7297, allocations: 4.341 MB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1632/0.8929, allocations: 150.5 MB / 1.24 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009592/0.8939, allocations: 19.91 kB / 1.24 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006669/0.8946, allocations: 176.4 kB / 1.24 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.8965, allocations: 0.5045 MB / 1.241 GB, free: 500 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.8987, allocations: 0.8251 MB / 1.241 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001483/0.9001, allocations: 1.307 MB / 1.243 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008791/0.901, allocations: 0.6097 MB / 1.243 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006892/0.9017, allocations: 475.7 kB / 1.244 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006502/0.9024, allocations: 496.6 kB / 1.244 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002275/0.9026, allocations: 114.5 kB / 1.244 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.9037, allocations: 483.2 kB / 1.245 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003066/0.904, allocations: 297 kB / 1.245 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005582/0.9046, allocations: 0.5391 MB / 1.246 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.9065, allocations: 1.591 MB / 1.247 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.9065, allocations: 0 / 1.247 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9065, allocations: 0 / 1.247 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.433e-05/0.9065, allocations: 3.938 kB / 1.247 GB, free: 11.47 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002692/0.9092, allocations: 1.411 MB / 1.248 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.9093, allocations: 12.02 kB / 1.248 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009544/0.9102, allocations: 183.4 kB / 1.249 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.9114, allocations: 0.7578 MB / 1.249 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.637e-05/0.9115, allocations: 62 kB / 1.249 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.9116, allocations: 80 kB / 1.25 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.9131, allocations: 0.9145 MB / 1.25 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.9131, allocations: 3.938 kB / 1.25 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.559e-05/0.9132, allocations: 36 kB / 1.25 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.9132, allocations: 20 kB / 1.25 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.915, allocations: 1.104 MB / 1.252 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003691/0.9187, allocations: 2.467 MB / 1.254 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.9201, allocations: 0.7862 MB / 1.255 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005171/0.9207, allocations: 306.6 kB / 1.255 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.841e-05/0.9207, allocations: 32.67 kB / 1.255 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00083/0.9216, allocations: 491.1 kB / 1.256 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=80): time 2.134e-06/0.9216, allocations: 0 / 1.256 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=80): time 0.00311/0.9247, allocations: 1.194 MB / 1.257 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.203e-05/0.9248, allocations: 188.6 kB / 1.257 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007402/0.9255, allocations: 0.6292 MB / 1.257 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.713e-05/0.9256, allocations: 41.7 kB / 1.258 GB, free: 484 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.9259, allocations: 392.3 kB / 1.258 GB, free: 84 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.9261, allocations: 260.5 kB / 1.258 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.9264, allocations: 162.5 kB / 1.258 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.9265, allocations: 394.7 kB / 1.259 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005254/0.9271, allocations: 265.8 kB / 1.259 GB, free: 15 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006179/0.9277, allocations: 359 kB / 1.259 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.9288, allocations: 0.6034 MB / 1.26 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.9288, allocations: 0 / 1.26 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001895/0.9307, allocations: 0.8449 MB / 1.261 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.9307, allocations: 8 kB / 1.261 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.9307, allocations: 0 / 1.261 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005971/0.9313, allocations: 84.83 kB / 1.261 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.932, allocations: 163.7 kB / 1.261 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.934, allocations: 1.63 MB / 1.263 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006935/0.9347, allocations: 95.38 kB / 1.263 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/0.9348, allocations: 39.91 kB / 1.263 GB, free: 11 MB / 0.9981 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.0003861/0.9352, allocations: 263.4 kB / 1.263 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.9354, allocations: 86.97 kB / 1.263 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.9377, allocations: 1.054 MB / 1.264 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.9377, allocations: 8.078 kB / 1.264 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.9377, allocations: 0 / 1.264 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003559/0.938, allocations: 279.7 kB / 1.264 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.9382, allocations: 19.98 kB / 1.264 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006165/0.9388, allocations: 59.94 kB / 1.264 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.939, allocations: 72.83 kB / 1.264 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001965/0.9409, allocations: 0.9436 MB / 1.265 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002124/0.9431, allocations: 1.391 MB / 1.267 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005616/0.9436, allocations: 363.8 kB / 1.267 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004944/0.9441, allocations: 455 kB / 1.267 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of Backend: time 4.81e-07/0.9442, allocations: 0 / 1.267 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003001/0.9472, allocations: 1.267 MB / 1.269 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of SimCode: time 0.002677/0.9499, allocations: 2.021 MB / 1.271 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of Templates: time 0.0243/0.9742, allocations: 16.12 MB / 1.286 GB, free: 2.902 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches