Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_10_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.008379/0.008379, allocations: 105.5 kB / 15.74 MB, free: 6.027 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.001755/0.001755, allocations: 189.6 kB / 16.67 MB, free: 5.949 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.373/2.373, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 64.12 kB / 1.018 GB, free: 9.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7688/0.77, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009064/0.7791, allocations: 8.458 MB / 1.174 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1619/0.941, allocations: 151.8 MB / 1.323 GB, free: 2.887 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.9427, allocations: 31.88 kB / 1.323 GB, free: 2.855 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.944, allocations: 320.7 kB / 1.323 GB, free: 2.539 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003255/0.9473, allocations: 0.8778 MB / 1.324 GB, free: 1.66 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00327/0.9505, allocations: 1.38 MB / 1.325 GB, free: 292 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003866/0.9544, allocations: 3.005 MB / 1.328 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002363/0.9568, allocations: 1.492 MB / 1.33 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.9586, allocations: 1.203 MB / 1.331 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002/0.9607, allocations: 1.346 MB / 1.332 GB, free: 9.152 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0008397/0.9615, allocations: 324 kB / 1.332 GB, free: 8.836 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.9633, allocations: 0.7065 MB / 1.333 GB, free: 8.129 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.9643, allocations: 0.6933 MB / 1.334 GB, free: 7.434 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001971/0.9663, allocations: 1.338 MB / 1.335 GB, free: 6.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00383/0.9701, allocations: 3.668 MB / 1.339 GB, free: 2.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.9701, allocations: 0 / 1.339 GB, free: 2.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9702, allocations: 0 / 1.339 GB, free: 2.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.933e-05/0.9702, allocations: 0 / 1.339 GB, free: 2.41 MB / 1.061 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.005851/0.9761, allocations: 2.83 MB / 1.341 GB, free: 15.5 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.9761, allocations: 12.92 kB / 1.341 GB, free: 15.49 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003496/0.9765, allocations: 316.9 kB / 1.342 GB, free: 15.17 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0146/0.9911, allocations: 2.112 MB / 1.344 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002605/0.9937, allocations: 1.286 MB / 1.345 GB, free: 11.72 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.9939, allocations: 172.5 kB / 1.345 GB, free: 11.55 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003891/0.9943, allocations: 220 kB / 1.345 GB, free: 11.33 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00786/1.002, allocations: 3.282 MB / 1.349 GB, free: 7.957 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.237e-05/1.002, allocations: 3.938 kB / 1.349 GB, free: 7.953 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/1.002, allocations: 92 kB / 1.349 GB, free: 7.863 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-05/1.003, allocations: 52 kB / 1.349 GB, free: 7.812 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01161/1.014, allocations: 4.205 MB / 1.353 GB, free: 3.59 MB / 1.076 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.01549/1.03, allocations: 8.037 MB / 1.361 GB, free: 11.28 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00825/1.038, allocations: 2.877 MB / 1.364 GB, free: 8.402 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004153/1.042, allocations: 1.489 MB / 1.365 GB, free: 6.906 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007696/1.043, allocations: 0.4996 MB / 1.365 GB, free: 6.316 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00495/1.048, allocations: 1.851 MB / 1.367 GB, free: 4.445 MB / 1.092 GB Notification: Performance of pre-optimization done (n=213): time 4.358e-06/1.048, allocations: 4 kB / 1.367 GB, free: 4.441 MB / 1.092 GB Notification: Performance of matching and sorting (n=213): time 0.01409/1.062, allocations: 4.466 MB / 1.372 GB, free: 15.95 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/1.062, allocations: 205.9 kB / 1.372 GB, free: 15.7 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/1.063, allocations: 0.949 MB / 1.373 GB, free: 14.73 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000263/1.064, allocations: 61.7 kB / 1.373 GB, free: 14.67 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006174/1.064, allocations: 0.7465 MB / 1.374 GB, free: 13.91 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006624/1.065, allocations: 0.6814 MB / 1.374 GB, free: 13.22 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00071/1.066, allocations: 375.3 kB / 1.375 GB, free: 12.85 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.066, allocations: 305.1 kB / 1.375 GB, free: 12.55 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003939/1.07, allocations: 1.234 MB / 1.376 GB, free: 11.31 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004187/1.074, allocations: 1.437 MB / 1.377 GB, free: 9.84 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007958/1.082, allocations: 2.587 MB / 1.38 GB, free: 7.234 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.082, allocations: 3.938 kB / 1.38 GB, free: 7.23 MB / 1.107 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.009879/1.092, allocations: 3.081 MB / 1.383 GB, free: 4.137 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/1.092, allocations: 8 kB / 1.383 GB, free: 4.129 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/1.092, allocations: 112 / 1.383 GB, free: 4.129 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005923/1.093, allocations: 92.77 kB / 1.383 GB, free: 4.035 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003431/1.096, allocations: 0.5967 MB / 1.384 GB, free: 3.438 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/1.098, allocations: 1.633 MB / 1.385 GB, free: 1.66 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002941/1.101, allocations: 358.1 kB / 1.386 GB, free: 1.309 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002414/1.101, allocations: 99.89 kB / 1.386 GB, free: 1.211 MB / 1.107 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.0009406/1.102, allocations: 435.8 kB / 1.386 GB, free: 0.7773 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004009/1.103, allocations: 154.1 kB / 1.386 GB, free: 0.625 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/1.113, allocations: 3.716 MB / 1.39 GB, free: 12.88 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/1.113, allocations: 24 kB / 1.39 GB, free: 12.86 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.113, allocations: 0 / 1.39 GB, free: 12.86 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/1.113, allocations: 19.89 kB / 1.39 GB, free: 12.84 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/1.117, allocations: 2.46 MB / 1.392 GB, free: 10.34 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/1.117, allocations: 3.938 kB / 1.392 GB, free: 10.34 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003256/1.12, allocations: 0.5578 MB / 1.393 GB, free: 9.777 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004583/1.12, allocations: 76.78 kB / 1.393 GB, free: 9.699 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002455/1.121, allocations: 71.91 kB / 1.393 GB, free: 9.629 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/1.123, allocations: 1.662 MB / 1.395 GB, free: 7.82 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.123, allocations: 4.062 kB / 1.395 GB, free: 7.816 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009452/1.132, allocations: 3.218 MB / 1.398 GB, free: 4.574 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/1.133, allocations: 0.5412 MB / 1.398 GB, free: 4.012 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003116/1.133, allocations: 51.84 kB / 1.398 GB, free: 3.961 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002686/1.136, allocations: 267.7 kB / 1.399 GB, free: 3.699 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002997/1.136, allocations: 149.8 kB / 1.399 GB, free: 3.555 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000229/1.137, allocations: 95.91 kB / 1.399 GB, free: 3.461 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009387/1.138, allocations: 0.6997 MB / 1.4 GB, free: 2.754 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.138, allocations: 0 / 1.4 GB, free: 2.754 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001691/1.139, allocations: 0.67 MB / 1.4 GB, free: 2.082 MB / 1.123 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.01115/1.15, allocations: 4.337 MB / 1.404 GB, free: 13.88 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.009299/1.16, allocations: 3.131 MB / 1.408 GB, free: 10.73 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.16, allocations: 0 / 1.408 GB, free: 10.73 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.004722/1.165, allocations: 1.759 MB / 1.409 GB, free: 8.961 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/1.166, allocations: 396.4 kB / 1.41 GB, free: 8.594 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03627/1.203, allocations: 15.83 MB / 1.425 GB, free: 8.559 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009772/1.204, allocations: 1.422 MB / 1.426 GB, free: 7.098 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.002584/1.206, allocations: 0.5835 MB / 1.427 GB, free: 6.508 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001536/1.208, allocations: 0.8779 MB / 1.428 GB, free: 5.633 MB / 1.154 GB Notification: Performance of SimCode: time 9.32e-07/1.208, allocations: 0 / 1.428 GB, free: 5.633 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07993/1.288, allocations: 42.84 MB / 1.47 GB, free: 11.05 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.89, allocations: 11.92 kB / 1.47 GB, free: 11.04 MB / 1.201 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches