Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.DiffuseIsotropic,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_10_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.00601/0.00601, allocations: 100.8 kB / 15.73 MB, free: 6.016 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.001354/0.001354, allocations: 198 kB / 16.68 MB, free: 5.938 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.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.419/2.419, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 59.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2729, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00712/0.28, allocations: 5.98 MB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7748/1.055, allocations: 150.8 MB / 1.319 GB, free: 9.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/1.056, allocations: 16.41 kB / 1.319 GB, free: 9.477 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009369/1.057, allocations: 234.1 kB / 1.32 GB, free: 9.348 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002419/1.059, allocations: 0.6301 MB / 1.32 GB, free: 9.047 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/1.062, allocations: 0.8814 MB / 1.321 GB, free: 8.883 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002502/1.064, allocations: 1.649 MB / 1.323 GB, free: 8.539 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/1.066, allocations: 0.8651 MB / 1.323 GB, free: 8.293 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/1.067, allocations: 0.6218 MB / 1.324 GB, free: 8.156 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/1.068, allocations: 0.6574 MB / 1.325 GB, free: 7.871 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004945/1.069, allocations: 154.8 kB / 1.325 GB, free: 7.871 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/1.07, allocations: 0.5134 MB / 1.325 GB, free: 7.758 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006478/1.071, allocations: 373 kB / 1.326 GB, free: 7.516 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001573/1.073, allocations: 0.7392 MB / 1.326 GB, free: 7.027 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003582/1.076, allocations: 2.039 MB / 1.328 GB, free: 6.152 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.076, allocations: 4 kB / 1.328 GB, free: 6.148 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.134e-06/1.076, allocations: 0 / 1.328 GB, free: 6.148 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.75e-05/1.076, allocations: 0 / 1.328 GB, free: 6.148 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.004745/1.081, allocations: 1.719 MB / 1.33 GB, free: 5.016 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/1.081, allocations: 14.12 kB / 1.33 GB, free: 5.016 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003736/1.082, allocations: 178.4 kB / 1.33 GB, free: 4.898 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/1.083, allocations: 224.3 kB / 1.33 GB, free: 4.816 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/1.085, allocations: 0.8672 MB / 1.331 GB, free: 4.254 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.925e-05/1.085, allocations: 91.91 kB / 1.331 GB, free: 4.211 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/1.085, allocations: 112.4 kB / 1.332 GB, free: 4.176 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/1.087, allocations: 1.204 MB / 1.333 GB, free: 3.617 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/1.087, allocations: 4.969 kB / 1.333 GB, free: 3.613 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/1.087, allocations: 51.16 kB / 1.333 GB, free: 3.574 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-05/1.087, allocations: 30.19 kB / 1.333 GB, free: 3.574 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/1.09, allocations: 1.285 MB / 1.334 GB, free: 3.246 MB / 1.014 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.005764/1.095, allocations: 3.54 MB / 1.338 GB, free: 1.074 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/1.097, allocations: 0.8694 MB / 1.338 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005752/1.098, allocations: 326.2 kB / 1.339 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/1.098, allocations: 38.84 kB / 1.339 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009238/1.099, allocations: 0.5104 MB / 1.339 GB, free: 388 kB / 1.014 GB Notification: Performance of pre-optimization done (n=87): time 3.266e-06/1.099, allocations: 1.25 kB / 1.339 GB, free: 388 kB / 1.014 GB Notification: Performance of matching and sorting (n=87): time 0.003456/1.102, allocations: 1.28 MB / 1.34 GB, free: 15.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.989e-05/1.102, allocations: 194.3 kB / 1.341 GB, free: 15.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/1.104, allocations: 0.7359 MB / 1.341 GB, free: 15.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/1.104, allocations: 43.05 kB / 1.341 GB, free: 15.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/1.104, allocations: 0.5233 MB / 1.342 GB, free: 14.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/1.104, allocations: 277.1 kB / 1.342 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002873/1.105, allocations: 158.6 kB / 1.342 GB, free: 14.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.105, allocations: 340.2 kB / 1.343 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000569/1.105, allocations: 269.1 kB / 1.343 GB, free: 14.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006931/1.106, allocations: 392.3 kB / 1.343 GB, free: 13.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/1.107, allocations: 0.6334 MB / 1.344 GB, free: 13.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/1.107, allocations: 3.938 kB / 1.344 GB, free: 13.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002108/1.109, allocations: 0.8688 MB / 1.345 GB, free: 13.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/1.11, allocations: 5.5 kB / 1.345 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/1.11, allocations: 1.125 kB / 1.345 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006052/1.11, allocations: 90.22 kB / 1.345 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007072/1.111, allocations: 163.9 kB / 1.345 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/1.113, allocations: 1.636 MB / 1.347 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008844/1.114, allocations: 94.41 kB / 1.347 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.564e-05/1.114, allocations: 37.39 kB / 1.347 GB, free: 11.65 MB / 1.029 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.000614/1.115, allocations: 301.3 kB / 1.347 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/1.115, allocations: 91.72 kB / 1.347 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002583/1.117, allocations: 1.129 MB / 1.348 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/1.117, allocations: 14.5 kB / 1.348 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/1.117, allocations: 0 / 1.348 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/1.117, allocations: 4.312 kB / 1.348 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/1.119, allocations: 1.054 MB / 1.349 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/1.119, allocations: 4 kB / 1.349 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000628/1.12, allocations: 152 kB / 1.349 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004361/1.12, allocations: 70.52 kB / 1.349 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.309e-05/1.12, allocations: 32.64 kB / 1.349 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/1.122, allocations: 1.651 MB / 1.351 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.122, allocations: 0 / 1.351 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/1.124, allocations: 0.9865 MB / 1.352 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005329/1.125, allocations: 292 kB / 1.352 GB, free: 8.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/1.125, allocations: 29.61 kB / 1.352 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007228/1.126, allocations: 62.23 kB / 1.352 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/1.126, allocations: 78.92 kB / 1.353 GB, free: 8.113 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.255e-05/1.126, allocations: 39.2 kB / 1.353 GB, free: 8.105 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008607/1.127, allocations: 0.5248 MB / 1.353 GB, free: 7.875 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.1e-07/1.127, allocations: 0 / 1.353 GB, free: 7.875 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001289/1.128, allocations: 376.9 kB / 1.353 GB, free: 7.773 MB / 1.029 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.003801/1.132, allocations: 2.038 MB / 1.355 GB, free: 6.645 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00179/1.134, allocations: 0.8551 MB / 1.356 GB, free: 6.293 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/1.134, allocations: 2.156 kB / 1.356 GB, free: 6.293 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009489/1.135, allocations: 0.5446 MB / 1.357 GB, free: 6.031 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/1.136, allocations: 330.9 kB / 1.357 GB, free: 5.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/1.148, allocations: 7.031 MB / 1.364 GB, free: 1.754 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007545/1.149, allocations: 1.108 MB / 1.365 GB, free: 0.8789 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001004/1.15, allocations: 296.5 kB / 1.365 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006707/1.151, allocations: 484.9 kB / 1.366 GB, free: 340 kB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/1.151, allocations: 0 / 1.366 GB, free: 340 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05454/1.205, allocations: 24.16 MB / 1.389 GB, free: 15.67 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.66, allocations: 8 kB / 1.389 GB, free: 15.66 MB / 1.061 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches