Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008204/0.008204, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.001922/0.001922, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.1 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 1.941/1.941, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.91 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6783/0.6795, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006538/0.6861, allocations: 6.474 MB / 1.094 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1619/0.848, allocations: 151.6 MB / 1.242 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.8495, allocations: 24.28 kB / 1.242 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009314/0.8505, allocations: 252.5 kB / 1.242 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002703/0.8532, allocations: 0.6929 MB / 1.243 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003007/0.8562, allocations: 1.364 MB / 1.244 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003089/0.8593, allocations: 2.666 MB / 1.247 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.8613, allocations: 1.6 MB / 1.248 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.8629, allocations: 1.16 MB / 1.249 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.8647, allocations: 1.296 MB / 1.251 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007398/0.8655, allocations: 324 kB / 1.251 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.8672, allocations: 0.7027 MB / 1.252 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006736/0.8679, allocations: 0.701 MB / 1.252 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001499/0.8694, allocations: 1.271 MB / 1.254 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003817/0.8732, allocations: 3.563 MB / 1.257 GB, free: 28 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.8732, allocations: 0 / 1.257 GB, free: 28 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8732, allocations: 0 / 1.257 GB, free: 28 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.408e-05/0.8733, allocations: 0 / 1.257 GB, free: 28 kB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006536/0.8799, allocations: 2.78 MB / 1.26 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.8799, allocations: 16.03 kB / 1.26 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004479/0.8804, allocations: 312.9 kB / 1.26 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01513/0.8955, allocations: 2.104 MB / 1.262 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002873/0.8984, allocations: 1.29 MB / 1.263 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.8986, allocations: 168.5 kB / 1.264 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006566/0.8993, allocations: 223.9 kB / 1.264 GB, free: 9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009288/0.9086, allocations: 3.278 MB / 1.267 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.517e-05/0.9086, allocations: 0 / 1.267 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003188/0.909, allocations: 95.98 kB / 1.267 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-05/0.909, allocations: 56 kB / 1.267 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/0.9214, allocations: 4.205 MB / 1.271 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01519/0.9366, allocations: 7.23 MB / 1.278 GB, free: 9.934 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008813/0.9455, allocations: 2.887 MB / 1.281 GB, free: 7.047 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004281/0.9498, allocations: 1.489 MB / 1.283 GB, free: 5.555 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000795/0.9506, allocations: 0.5074 MB / 1.283 GB, free: 4.953 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00486/0.9554, allocations: 1.844 MB / 1.285 GB, free: 3.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 3.907e-06/0.9555, allocations: 0 / 1.285 GB, free: 3.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.01436/0.9698, allocations: 4.458 MB / 1.289 GB, free: 14.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.97, allocations: 205.9 kB / 1.289 GB, free: 14.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.9712, allocations: 0.9452 MB / 1.29 GB, free: 13.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001644/0.9714, allocations: 61.7 kB / 1.29 GB, free: 13.33 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005769/0.972, allocations: 0.7466 MB / 1.291 GB, free: 12.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005789/0.9725, allocations: 0.6814 MB / 1.292 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007086/0.9733, allocations: 379.2 kB / 1.292 GB, free: 11.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.81e-05/0.9734, allocations: 301.1 kB / 1.292 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004166/0.9775, allocations: 1.237 MB / 1.294 GB, free: 9.969 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004239/0.9818, allocations: 1.429 MB / 1.295 GB, free: 8.504 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008169/0.99, allocations: 2.587 MB / 1.298 GB, free: 5.898 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.99, allocations: 0 / 1.298 GB, free: 5.898 MB / 1.029 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.009609/0.9996, allocations: 3.073 MB / 1.301 GB, free: 2.812 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.9996, allocations: 8.062 kB / 1.301 GB, free: 2.805 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.9996, allocations: 4 kB / 1.301 GB, free: 2.801 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005738/1, allocations: 88.77 kB / 1.301 GB, free: 2.711 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00347/1.004, allocations: 0.5889 MB / 1.301 GB, free: 2.121 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2547/1.258, allocations: 1.642 MB / 1.303 GB, free: 344 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004705/1.263, allocations: 354.1 kB / 1.303 GB, free: 15.99 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005294/1.264, allocations: 95.89 kB / 1.303 GB, free: 15.89 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.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 (231): * Single equations (assignments): 230 * 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.00119/1.265, allocations: 438.3 kB / 1.304 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005304/1.265, allocations: 162 kB / 1.304 GB, free: 15.3 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/1.277, allocations: 3.708 MB / 1.307 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/1.277, allocations: 27.94 kB / 1.307 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.277, allocations: 0 / 1.307 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.19e-05/1.277, allocations: 11.95 kB / 1.307 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/1.279, allocations: 2.448 MB / 1.31 GB, free: 9.035 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.279, allocations: 3.938 kB / 1.31 GB, free: 9.031 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003318/1.283, allocations: 0.5616 MB / 1.31 GB, free: 8.469 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004334/1.283, allocations: 80.72 kB / 1.311 GB, free: 8.387 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001902/1.283, allocations: 79.91 kB / 1.311 GB, free: 8.309 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/1.285, allocations: 1.662 MB / 1.312 GB, free: 6.496 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-06/1.285, allocations: 0 / 1.312 GB, free: 6.496 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009415/1.295, allocations: 3.21 MB / 1.315 GB, free: 3.262 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008675/1.295, allocations: 0.549 MB / 1.316 GB, free: 2.691 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000298/1.296, allocations: 56 kB / 1.316 GB, free: 2.637 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00269/1.298, allocations: 267.7 kB / 1.316 GB, free: 2.375 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/1.299, allocations: 149.8 kB / 1.316 GB, free: 2.227 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000205/1.299, allocations: 95.91 kB / 1.316 GB, free: 2.133 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008713/1.3, allocations: 0.6997 MB / 1.317 GB, free: 1.426 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.31e-07/1.3, allocations: 0 / 1.317 GB, free: 1.426 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001434/1.301, allocations: 0.6309 MB / 1.318 GB, free: 0.793 MB / 1.045 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,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * 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.01089/1.312, allocations: 4.334 MB / 1.322 GB, free: 12.61 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00899/1.321, allocations: 3.124 MB / 1.325 GB, free: 9.473 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.321, allocations: 0 / 1.325 GB, free: 9.473 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.004606/1.326, allocations: 1.759 MB / 1.327 GB, free: 7.707 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/1.327, allocations: 373.3 kB / 1.327 GB, free: 7.359 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0363/1.364, allocations: 16.01 MB / 1.343 GB, free: 7.137 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009717/1.365, allocations: 1.422 MB / 1.344 GB, free: 5.68 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002421/1.367, allocations: 0.5676 MB / 1.345 GB, free: 5.105 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/1.369, allocations: 0.8779 MB / 1.346 GB, free: 4.227 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/1.369, allocations: 0 / 1.346 GB, free: 4.227 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.233/5.602, allocations: 43.02 MB / 1.388 GB, free: 9.555 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.14/32.74, allocations: 14.62 kB / 1.388 GB, free: 9.543 MB / 1.123 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches