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.00717/0.00717, allocations: 101.4 kB / 15.73 MB, free: 6.062 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.002021/0.002022, allocations: 190.4 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.298/1.298, 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 9.1.3-maint.9.1.x/package.mo): time 2.163/2.163, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 59.91 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7384/0.7398, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005872/0.7457, allocations: 4.343 MB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1736/0.9193, allocations: 150.6 MB / 1.239 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.9206, allocations: 20.5 kB / 1.239 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009018/0.9215, allocations: 172.9 kB / 1.239 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002579/0.9241, allocations: 0.5045 MB / 1.239 GB, free: 276 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003053/0.9272, allocations: 0.8219 MB / 1.24 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002294/0.9295, allocations: 1.294 MB / 1.241 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.9307, allocations: 0.6177 MB / 1.242 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.9317, allocations: 471.6 kB / 1.243 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.9328, allocations: 0.4886 MB / 1.243 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003799/0.9332, allocations: 118.8 kB / 1.243 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.9346, allocations: 479.8 kB / 1.244 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004389/0.935, allocations: 297.3 kB / 1.244 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009239/0.936, allocations: 0.5385 MB / 1.244 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002668/0.9387, allocations: 1.595 MB / 1.246 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.9387, allocations: 3.984 kB / 1.246 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9387, allocations: 4 kB / 1.246 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.912e-05/0.9387, allocations: 0 / 1.246 GB, free: 11.46 MB / 0.9825 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.003289/0.942, allocations: 1.411 MB / 1.247 GB, free: 10 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.9421, allocations: 12.03 kB / 1.247 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002106/0.9423, allocations: 135.4 kB / 1.247 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009676/0.9433, allocations: 183.4 kB / 1.248 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.9445, allocations: 0.7615 MB / 1.248 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.922e-05/0.9446, allocations: 69.98 kB / 1.248 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.9447, allocations: 76 kB / 1.249 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.9462, allocations: 0.9106 MB / 1.249 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.9463, allocations: 3.938 kB / 1.249 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.791e-05/0.9464, allocations: 43.92 kB / 1.249 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.9464, allocations: 20 kB / 1.249 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.9482, allocations: 1.1 MB / 1.251 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004072/0.9523, allocations: 2.457 MB / 1.253 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.9539, allocations: 0.794 MB / 1.254 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005041/0.9544, allocations: 306.6 kB / 1.254 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.203e-05/0.9545, allocations: 32.69 kB / 1.254 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008388/0.9553, allocations: 491.1 kB / 1.254 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=80): time 3.036e-06/0.9553, allocations: 0 / 1.254 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=80): time 0.003141/0.9585, allocations: 1.19 MB / 1.256 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.9586, allocations: 192.6 kB / 1.256 GB, free: 1 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000889/0.9595, allocations: 0.6254 MB / 1.256 GB, free: 376 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.525e-05/0.9596, allocations: 41.7 kB / 1.256 GB, free: 328 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.9599, allocations: 396.5 kB / 1.257 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.9602, allocations: 260.2 kB / 1.257 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.9604, allocations: 146.5 kB / 1.257 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.9606, allocations: 390.7 kB / 1.258 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.9611, allocations: 249.9 kB / 1.258 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005881/0.9617, allocations: 354.5 kB / 1.258 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.9628, allocations: 0.5799 MB / 1.259 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.9628, allocations: 4.062 kB / 1.259 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001939/0.9647, allocations: 0.8019 MB / 1.26 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.9648, allocations: 4 kB / 1.26 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.9648, allocations: 4 kB / 1.26 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005822/0.9654, allocations: 88.72 kB / 1.26 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006011/0.966, allocations: 151.8 kB / 1.26 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.9681, allocations: 1.622 MB / 1.261 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006432/0.9687, allocations: 87.36 kB / 1.261 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.791e-05/0.9688, allocations: 36.03 kB / 1.262 GB, free: 10.96 MB / 0.9981 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.0004072/0.9692, allocations: 266.1 kB / 1.262 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.9694, allocations: 82.97 kB / 1.262 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/0.9717, allocations: 1.058 MB / 1.263 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.9718, allocations: 8 kB / 1.263 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.9718, allocations: 3.938 kB / 1.263 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-06/0.9718, allocations: 7.922 kB / 1.263 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.9729, allocations: 0.8957 MB / 1.264 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.9729, allocations: 4 kB / 1.264 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005634/0.9735, allocations: 143.8 kB / 1.264 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004396/0.974, allocations: 76.72 kB / 1.264 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.912e-05/0.974, allocations: 27.98 kB / 1.264 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.976, allocations: 1.646 MB / 1.266 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.976, allocations: 4.031 kB / 1.266 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.978, allocations: 0.924 MB / 1.267 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000385/0.9784, allocations: 271.7 kB / 1.267 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.9785, allocations: 20 kB / 1.267 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005925/0.9791, allocations: 59.94 kB / 1.267 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.9793, allocations: 72.83 kB / 1.267 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.349e-05/0.9794, allocations: 36.12 kB / 1.267 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006375/0.98, allocations: 463 kB / 1.267 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.98, allocations: 0 / 1.267 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000825/0.9809, allocations: 311.1 kB / 1.268 GB, free: 4.352 MB / 0.9981 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.003525/0.9844, allocations: 1.97 MB / 1.27 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001678/0.9861, allocations: 0.796 MB / 1.27 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9861, allocations: 0 / 1.27 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.9871, allocations: 0.52 MB / 1.271 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.9883, allocations: 298.1 kB / 1.271 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.9989, allocations: 6.208 MB / 1.277 GB, free: 10.61 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006061/0.9996, allocations: 1.019 MB / 1.278 GB, free: 9.562 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007535/1, allocations: 258.6 kB / 1.278 GB, free: 9.305 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005259/1.001, allocations: 379.3 kB / 1.279 GB, free: 8.934 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/1.001, allocations: 0 / 1.279 GB, free: 8.934 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04775/1.049, allocations: 21.09 MB / 1.299 GB, free: 4.188 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/13.23, allocations: 8.5 kB / 1.299 GB, free: 4.18 MB / 1.029 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