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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_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.006164/0.006164, allocations: 97.64 kB / 15.73 MB, free: 6.48 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.001372/0.001372, allocations: 191.2 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.322/2.322, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.684/2.684, allocations: 390.2 MB / 0.6648 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 62.42 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2733, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006803/0.2802, allocations: 4.343 MB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1893/0.4696, allocations: 150.5 MB / 1.239 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001616/0.4713, allocations: 15.94 kB / 1.239 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.4726, allocations: 170.4 kB / 1.239 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00321/0.4759, allocations: 0.4966 MB / 1.239 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003126/0.479, allocations: 0.829 MB / 1.24 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002178/0.4812, allocations: 1.301 MB / 1.241 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009869/0.4822, allocations: 0.6062 MB / 1.242 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008088/0.483, allocations: 478.3 kB / 1.243 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005686/0.4836, allocations: 489.8 kB / 1.243 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.4838, allocations: 112 kB / 1.243 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.4849, allocations: 491.5 kB / 1.244 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002897/0.4852, allocations: 303 kB / 1.244 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004937/0.4857, allocations: 0.5363 MB / 1.244 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.4876, allocations: 1.593 MB / 1.246 GB, free: 15.1 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.4877, allocations: 0 / 1.246 GB, free: 15.1 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4877, allocations: 0 / 1.246 GB, free: 15.1 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.4877, allocations: 0 / 1.246 GB, free: 15.1 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002575/0.4903, allocations: 1.414 MB / 1.247 GB, free: 13.64 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.4903, allocations: 8.031 kB / 1.247 GB, free: 13.63 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001612/0.4905, allocations: 143.4 kB / 1.247 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009156/0.4914, allocations: 179.4 kB / 1.248 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.4927, allocations: 0.7615 MB / 1.248 GB, free: 12.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.964e-05/0.4927, allocations: 62 kB / 1.248 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.4928, allocations: 80 kB / 1.248 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.4944, allocations: 0.9144 MB / 1.249 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.4944, allocations: 0 / 1.249 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.869e-05/0.4945, allocations: 40 kB / 1.249 GB, free: 11.37 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.4945, allocations: 20 kB / 1.249 GB, free: 11.35 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.4963, allocations: 1.112 MB / 1.251 GB, free: 10.23 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00405/0.5004, allocations: 2.452 MB / 1.253 GB, free: 7.719 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.5019, allocations: 0.8019 MB / 1.254 GB, free: 6.914 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005106/0.5024, allocations: 294.7 kB / 1.254 GB, free: 6.625 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.144e-05/0.5025, allocations: 32.61 kB / 1.254 GB, free: 6.594 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008921/0.5034, allocations: 495.1 kB / 1.254 GB, free: 6.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=80): time 4.529e-06/0.5034, allocations: 3.984 kB / 1.254 GB, free: 6.086 MB / 1.014 GB Notification: Performance of matching and sorting (n=80): time 0.003179/0.5066, allocations: 1.186 MB / 1.256 GB, free: 4.871 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.5067, allocations: 200.6 kB / 1.256 GB, free: 4.633 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007895/0.5075, allocations: 0.6254 MB / 1.256 GB, free: 4 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.004e-05/0.5076, allocations: 41.7 kB / 1.256 GB, free: 3.953 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.5079, allocations: 392.3 kB / 1.257 GB, free: 3.562 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.5082, allocations: 260.3 kB / 1.257 GB, free: 3.305 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.5084, allocations: 146.5 kB / 1.257 GB, free: 3.152 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.5086, allocations: 390.7 kB / 1.258 GB, free: 2.762 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004804/0.5091, allocations: 249.8 kB / 1.258 GB, free: 2.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006179/0.5097, allocations: 354.6 kB / 1.258 GB, free: 2.145 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.5108, allocations: 0.576 MB / 1.259 GB, free: 1.555 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5108, allocations: 4 kB / 1.259 GB, free: 1.551 MB / 1.014 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001839/0.5127, allocations: 0.8019 MB / 1.26 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.5127, allocations: 4 kB / 1.26 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.5127, allocations: 3.938 kB / 1.26 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006199/0.5133, allocations: 88.77 kB / 1.26 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/0.514, allocations: 155.8 kB / 1.26 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8647/1.379, allocations: 1.613 MB / 1.261 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009051/1.38, allocations: 89.75 kB / 1.261 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/1.38, allocations: 31.44 kB / 1.261 GB, free: 172.3 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 (87): * Single equations (assignments): 86 * 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.0005166/1.38, allocations: 267.2 kB / 1.262 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/1.38, allocations: 84.06 kB / 1.262 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002669/1.383, allocations: 1.061 MB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/1.383, allocations: 9.031 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.383, allocations: 4.5 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/1.383, allocations: 8.906 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/1.385, allocations: 0.8894 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/1.385, allocations: 1.125 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008891/1.386, allocations: 144.3 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005843/1.386, allocations: 74.72 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.514e-05/1.387, allocations: 26.97 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002446/1.389, allocations: 1.65 MB / 1.266 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.389, allocations: 0.8125 kB / 1.266 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004044/1.393, allocations: 0.9302 MB / 1.267 GB, free: 170.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009565/1.394, allocations: 271.8 kB / 1.267 GB, free: 170 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003401/1.394, allocations: 17.81 kB / 1.267 GB, free: 170 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/1.396, allocations: 61.39 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003806/1.396, allocations: 69 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/1.396, allocations: 39.03 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001315/1.398, allocations: 460.7 kB / 1.267 GB, free: 169.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.71e-07/1.398, allocations: 1.094 kB / 1.267 GB, free: 169.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001906/1.399, allocations: 307.2 kB / 1.268 GB, free: 169.7 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 (91): * Single equations (assignments): 85 * 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.006552/1.406, allocations: 1.977 MB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003358/1.409, allocations: 0.7968 MB / 1.27 GB, free: 168.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/1.41, allocations: 3.875 kB / 1.27 GB, free: 168.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00185/1.411, allocations: 0.5126 MB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/1.414, allocations: 296.7 kB / 1.271 GB, free: 168 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02574/1.44, allocations: 6.222 MB / 1.277 GB, free: 165 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001617/1.441, allocations: 1.021 MB / 1.278 GB, free: 164.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002337/1.444, allocations: 261 kB / 1.278 GB, free: 164.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/1.445, allocations: 380.9 kB / 1.279 GB, free: 163.9 MB / 1.014 GB Notification: Performance of SimCode: time 2.164e-06/1.445, allocations: 0.7656 kB / 1.279 GB, free: 163.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5594/2.004, allocations: 21.49 MB / 1.3 GB, free: 157.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.21/23.21, allocations: 8.234 kB / 1.3 GB, free: 157.1 MB / 1.014 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > 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