Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.007697/0.007697, allocations: 99.88 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.001965/0.001966, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.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.287/2.287, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 61.44 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2057, allocations: 140.4 MB / 1.087 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005468/0.2112, allocations: 4.743 MB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1395/0.3507, allocations: 150.7 MB / 1.239 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007328/0.3514, allocations: 15.94 kB / 1.239 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006047/0.3521, allocations: 190.2 kB / 1.239 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.3537, allocations: 0.5375 MB / 1.24 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.3555, allocations: 0.8561 MB / 1.241 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001458/0.357, allocations: 1.445 MB / 1.242 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.3581, allocations: 0.9274 MB / 1.243 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006955/0.3588, allocations: 0.5838 MB / 1.244 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006588/0.3595, allocations: 0.6221 MB / 1.244 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002127/0.3597, allocations: 156 kB / 1.244 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007951/0.3605, allocations: 0.5152 MB / 1.245 GB, free: 112 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003036/0.3608, allocations: 378.9 kB / 1.245 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005876/0.3614, allocations: 0.6916 MB / 1.246 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.3633, allocations: 1.971 MB / 1.248 GB, free: 13.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3633, allocations: 0 / 1.248 GB, free: 13.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.655e-06/0.3633, allocations: 0 / 1.248 GB, free: 13.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.945e-05/0.3633, allocations: 3.938 kB / 1.248 GB, free: 13.06 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002583/0.3659, allocations: 1.68 MB / 1.25 GB, free: 11.33 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.366, allocations: 15.97 kB / 1.25 GB, free: 11.31 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001932/0.3662, allocations: 181.8 kB / 1.25 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009017/0.3671, allocations: 223 kB / 1.25 GB, free: 10.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.3683, allocations: 0.8675 MB / 1.251 GB, free: 9.996 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.944e-05/0.3684, allocations: 86.41 kB / 1.251 GB, free: 9.91 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.3686, allocations: 120 kB / 1.251 GB, free: 9.793 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.3704, allocations: 1.206 MB / 1.252 GB, free: 8.523 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.3705, allocations: 0 / 1.252 GB, free: 8.523 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.702e-05/0.3705, allocations: 48 kB / 1.252 GB, free: 8.477 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.3706, allocations: 32 kB / 1.252 GB, free: 8.445 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.3725, allocations: 1.285 MB / 1.254 GB, free: 7.152 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004192/0.3767, allocations: 3.121 MB / 1.257 GB, free: 3.953 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.3781, allocations: 0.8602 MB / 1.257 GB, free: 3.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005082/0.3786, allocations: 318.7 kB / 1.258 GB, free: 2.773 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.946e-05/0.3787, allocations: 36.59 kB / 1.258 GB, free: 2.738 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008085/0.3795, allocations: 0.5197 MB / 1.258 GB, free: 2.199 MB / 1.014 GB Notification: Performance of pre-optimization done (n=87): time 2.094e-06/0.3795, allocations: 0 / 1.258 GB, free: 2.199 MB / 1.014 GB Notification: Performance of matching and sorting (n=87): time 0.003006/0.3825, allocations: 1.278 MB / 1.259 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.665e-05/0.3826, allocations: 192.9 kB / 1.26 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4299/0.8125, allocations: 0.7312 MB / 1.26 GB, free: 173.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001987/0.8128, allocations: 42.61 kB / 1.26 GB, free: 173.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004504/0.8132, allocations: 0.5181 MB / 1.261 GB, free: 173.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/0.8135, allocations: 282.4 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002909/0.8138, allocations: 161.4 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.71e-05/0.8139, allocations: 343.6 kB / 1.262 GB, free: 173.1 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005879/0.8145, allocations: 266.6 kB / 1.262 GB, free: 173.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006979/0.8152, allocations: 379 kB / 1.262 GB, free: 173 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.8164, allocations: 0.6332 MB / 1.263 GB, free: 172.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8164, allocations: 0 / 1.263 GB, free: 172.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002/0.8184, allocations: 0.8724 MB / 1.264 GB, free: 172.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.8184, allocations: 11.52 kB / 1.264 GB, free: 172.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.8184, allocations: 1.094 kB / 1.264 GB, free: 172.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006181/0.8191, allocations: 81.45 kB / 1.264 GB, free: 172.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007089/0.8198, allocations: 166.4 kB / 1.264 GB, free: 172.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.8216, allocations: 1.633 MB / 1.266 GB, free: 171.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007321/0.8224, allocations: 99.59 kB / 1.266 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.52e-05/0.8224, allocations: 33.86 kB / 1.266 GB, free: 171 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (96): * Single equations (assignments): 95 * 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.0004864/0.8229, allocations: 289.7 kB / 1.266 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.8231, allocations: 95.44 kB / 1.266 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/0.8255, allocations: 1.13 MB / 1.267 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.8256, allocations: 9.312 kB / 1.267 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.8256, allocations: 2.156 kB / 1.267 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.8256, allocations: 5.953 kB / 1.267 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.827, allocations: 1.053 MB / 1.268 GB, free: 169.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.827, allocations: 0 / 1.268 GB, free: 169.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000643/0.8276, allocations: 155.7 kB / 1.268 GB, free: 169.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004316/0.8281, allocations: 76.66 kB / 1.268 GB, free: 169.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.055e-05/0.8281, allocations: 25.45 kB / 1.269 GB, free: 169.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/0.8297, allocations: 1.656 MB / 1.27 GB, free: 168.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8297, allocations: 0 / 1.27 GB, free: 168.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.8318, allocations: 0.9876 MB / 1.271 GB, free: 167.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/0.8322, allocations: 290 kB / 1.271 GB, free: 167.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.8323, allocations: 31.41 kB / 1.271 GB, free: 167.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006127/0.8329, allocations: 62.05 kB / 1.271 GB, free: 167.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/0.8331, allocations: 75.56 kB / 1.272 GB, free: 167.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.264e-05/0.8332, allocations: 39.2 kB / 1.272 GB, free: 167.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008082/0.834, allocations: 0.517 MB / 1.272 GB, free: 167.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8341, allocations: 0 / 1.272 GB, free: 167.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001106/0.8352, allocations: 351.7 kB / 1.272 GB, free: 167.2 MB / 1.014 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 (98): * Single equations (assignments): 92 * 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.003769/0.8389, allocations: 2.04 MB / 1.274 GB, free: 166.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002007/0.841, allocations: 0.8536 MB / 1.275 GB, free: 165.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.841, allocations: 1.094 kB / 1.275 GB, free: 165.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008975/0.8419, allocations: 0.545 MB / 1.276 GB, free: 165.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.8432, allocations: 304.6 kB / 1.276 GB, free: 165.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.8545, allocations: 7.132 MB / 1.283 GB, free: 162 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/0.8552, allocations: 1.106 MB / 1.284 GB, free: 161.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008523/0.856, allocations: 277.5 kB / 1.284 GB, free: 161.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005763/0.8566, allocations: 482.6 kB / 1.285 GB, free: 160.9 MB / 1.014 GB Notification: Performance of SimCode: time 7.72e-07/0.8566, allocations: 0 / 1.285 GB, free: 160.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.404/3.26, allocations: 23.79 MB / 1.308 GB, free: 152.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.62/27.88, allocations: 15.25 kB / 1.308 GB, free: 152.3 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches