Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_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.008625/0.008625, allocations: 98.67 kB / 15.73 MB, free: 6.039 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.001919/0.001919, allocations: 202.7 kB / 16.68 MB, free: 5.965 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.822/2.822, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001345, allocations: 72.09 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3659, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009995/0.3759, allocations: 8.414 MB / 1.215 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8559/1.232, allocations: 151.8 MB / 1.364 GB, free: 5.957 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/1.233, allocations: 24.31 kB / 1.364 GB, free: 5.949 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009449/1.234, allocations: 325.3 kB / 1.364 GB, free: 5.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002838/1.237, allocations: 0.8506 MB / 1.365 GB, free: 5.195 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003075/1.24, allocations: 1.379 MB / 1.366 GB, free: 4.438 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004028/1.244, allocations: 2.997 MB / 1.369 GB, free: 2.898 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002079/1.246, allocations: 1.493 MB / 1.371 GB, free: 2.113 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002258/1.249, allocations: 1.205 MB / 1.372 GB, free: 1.512 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/1.251, allocations: 1.35 MB / 1.373 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000663/1.251, allocations: 324 kB / 1.373 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/1.253, allocations: 0.6981 MB / 1.374 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006004/1.254, allocations: 0.6982 MB / 1.375 GB, free: 224 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001453/1.255, allocations: 1.34 MB / 1.376 GB, free: 15.26 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004727/1.26, allocations: 3.665 MB / 1.38 GB, free: 12.5 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.26, allocations: 0 / 1.38 GB, free: 12.5 MB / 1.076 GB Notification: Performance of FrontEnd: time 4.228e-06/1.26, allocations: 0.9062 kB / 1.38 GB, free: 12.5 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.335e-05/1.26, allocations: 3.938 kB / 1.38 GB, free: 12.5 MB / 1.076 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.00738/1.267, allocations: 2.829 MB / 1.382 GB, free: 10.48 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.267, allocations: 10.31 kB / 1.382 GB, free: 10.48 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004284/1.268, allocations: 319.3 kB / 1.383 GB, free: 10.23 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01543/1.283, allocations: 2.114 MB / 1.385 GB, free: 9.266 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003357/1.287, allocations: 1.281 MB / 1.386 GB, free: 8.223 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002615/1.287, allocations: 167.9 kB / 1.386 GB, free: 8.145 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000666/1.288, allocations: 225.1 kB / 1.386 GB, free: 8.07 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01065/1.298, allocations: 3.281 MB / 1.39 GB, free: 6.094 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.652e-05/1.298, allocations: 0 / 1.39 GB, free: 6.094 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005268/1.299, allocations: 96.31 kB / 1.39 GB, free: 6.02 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.979e-05/1.299, allocations: 58.12 kB / 1.39 GB, free: 6.02 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/1.313, allocations: 4.207 MB / 1.394 GB, free: 3.984 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.01917/1.332, allocations: 8.031 MB / 1.402 GB, free: 13.74 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009769/1.342, allocations: 2.887 MB / 1.405 GB, free: 12.3 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004886/1.347, allocations: 1.488 MB / 1.406 GB, free: 11.02 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009246/1.348, allocations: 0.5073 MB / 1.407 GB, free: 10.42 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005801/1.354, allocations: 1.845 MB / 1.408 GB, free: 8.555 MB / 1.092 GB Notification: Performance of pre-optimization done (n=213): time 5.63e-06/1.354, allocations: 0 / 1.408 GB, free: 8.555 MB / 1.092 GB Notification: Performance of matching and sorting (n=213): time 0.01644/1.37, allocations: 4.47 MB / 1.413 GB, free: 4.059 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/1.37, allocations: 213.9 kB / 1.413 GB, free: 3.809 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/1.372, allocations: 0.9412 MB / 1.414 GB, free: 2.848 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003971/1.372, allocations: 65.81 kB / 1.414 GB, free: 2.777 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006408/1.373, allocations: 0.7541 MB / 1.415 GB, free: 2.016 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000857/1.374, allocations: 0.6775 MB / 1.415 GB, free: 1.328 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/1.375, allocations: 375.3 kB / 1.416 GB, free: 0.9531 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 8.85e-05/1.375, allocations: 305.1 kB / 1.416 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004389/1.379, allocations: 1.237 MB / 1.417 GB, free: 15.41 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004665/1.384, allocations: 1.433 MB / 1.419 GB, free: 13.95 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009008/1.393, allocations: 2.583 MB / 1.421 GB, free: 11.35 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/1.393, allocations: 0 / 1.421 GB, free: 11.35 MB / 1.107 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01162/1.405, allocations: 3.085 MB / 1.424 GB, free: 8.25 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/1.405, allocations: 4 kB / 1.424 GB, free: 8.246 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/1.405, allocations: 4.062 kB / 1.424 GB, free: 8.242 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006579/1.406, allocations: 88.77 kB / 1.424 GB, free: 8.152 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004172/1.41, allocations: 0.5928 MB / 1.425 GB, free: 7.559 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/1.412, allocations: 1.633 MB / 1.426 GB, free: 5.781 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00376/1.416, allocations: 370.8 kB / 1.427 GB, free: 5.418 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005348/1.416, allocations: 91.89 kB / 1.427 GB, free: 5.328 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.001359/1.418, allocations: 434.4 kB / 1.427 GB, free: 4.898 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007185/1.419, allocations: 154.1 kB / 1.427 GB, free: 4.746 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/1.431, allocations: 3.717 MB / 1.431 GB, free: 1.008 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/1.431, allocations: 24 kB / 1.431 GB, free: 0.9844 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/1.431, allocations: 0 / 1.431 GB, free: 0.9844 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.179e-05/1.431, allocations: 11.95 kB / 1.431 GB, free: 0.9727 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004021/1.435, allocations: 2.456 MB / 1.433 GB, free: 14.46 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.907e-05/1.435, allocations: 0 / 1.433 GB, free: 14.46 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003776/1.439, allocations: 0.5578 MB / 1.434 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005252/1.439, allocations: 80.72 kB / 1.434 GB, free: 13.82 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000414/1.44, allocations: 75.91 kB / 1.434 GB, free: 13.75 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/1.442, allocations: 1.666 MB / 1.436 GB, free: 11.94 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.442, allocations: 3.984 kB / 1.436 GB, free: 11.94 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/1.453, allocations: 3.21 MB / 1.439 GB, free: 8.707 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/1.455, allocations: 0.5452 MB / 1.439 GB, free: 8.141 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007143/1.456, allocations: 51.78 kB / 1.439 GB, free: 8.09 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003412/1.459, allocations: 271.7 kB / 1.44 GB, free: 7.824 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003537/1.459, allocations: 149.8 kB / 1.44 GB, free: 7.676 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002818/1.46, allocations: 99.97 kB / 1.44 GB, free: 7.578 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001169/1.461, allocations: 0.7047 MB / 1.441 GB, free: 6.867 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/1.461, allocations: 0 / 1.441 GB, free: 6.867 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002444/1.463, allocations: 0.67 MB / 1.441 GB, free: 6.195 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.01181/1.475, allocations: 4.333 MB / 1.446 GB, free: 2.02 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00983/1.485, allocations: 3.135 MB / 1.449 GB, free: 14.87 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.485, allocations: 0 / 1.449 GB, free: 14.87 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00521/1.49, allocations: 1.751 MB / 1.45 GB, free: 13.11 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/1.492, allocations: 401 kB / 1.451 GB, free: 12.73 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0413/1.534, allocations: 15.83 MB / 1.466 GB, free: 12.7 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/1.535, allocations: 1.424 MB / 1.468 GB, free: 11.25 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003073/1.538, allocations: 0.5718 MB / 1.468 GB, free: 10.67 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001815/1.54, allocations: 0.8818 MB / 1.469 GB, free: 9.789 MB / 1.154 GB Notification: Performance of SimCode: time 7.12e-07/1.54, allocations: 11.88 kB / 1.469 GB, free: 9.777 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08977/1.63, allocations: 43.78 MB / 1.512 GB, free: 14.36 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/16.04, allocations: 10.02 kB / 1.512 GB, free: 14.35 MB / 1.201 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches