Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.007503/0.007504, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.0018/0.0018, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.591/2.591, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.91 kB / 1.054 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2809, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008029/0.2889, allocations: 7.032 MB / 1.214 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7557/1.045, allocations: 151.2 MB / 1.362 GB, free: 7.398 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/1.046, allocations: 23.03 kB / 1.362 GB, free: 7.391 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007166/1.047, allocations: 256 kB / 1.362 GB, free: 7.227 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002065/1.049, allocations: 0.774 MB / 1.363 GB, free: 6.754 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002153/1.051, allocations: 1.013 MB / 1.364 GB, free: 6.211 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002033/1.053, allocations: 2.098 MB / 1.366 GB, free: 5.105 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/1.054, allocations: 1.102 MB / 1.367 GB, free: 4.52 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/1.055, allocations: 0.8259 MB / 1.368 GB, free: 4.098 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009093/1.056, allocations: 0.8866 MB / 1.369 GB, free: 3.613 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000258/1.057, allocations: 218.5 kB / 1.369 GB, free: 3.613 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/1.058, allocations: 0.5785 MB / 1.369 GB, free: 3.492 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003794/1.058, allocations: 489.5 kB / 1.37 GB, free: 3.168 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008184/1.059, allocations: 0.9679 MB / 1.371 GB, free: 2.527 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002603/1.061, allocations: 2.672 MB / 1.373 GB, free: 1.242 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.061, allocations: 1.312 kB / 1.373 GB, free: 1.242 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.432e-06/1.061, allocations: 0 / 1.373 GB, free: 1.242 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.934e-05/1.061, allocations: 0 / 1.373 GB, free: 1.242 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003718/1.065, allocations: 2.053 MB / 1.375 GB, free: 15.68 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.065, allocations: 9.469 kB / 1.375 GB, free: 15.68 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002573/1.065, allocations: 229.4 kB / 1.376 GB, free: 15.5 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/1.067, allocations: 262.6 kB / 1.376 GB, free: 15.37 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/1.068, allocations: 0.9983 MB / 1.377 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/1.068, allocations: 142.9 kB / 1.377 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/1.068, allocations: 152.6 kB / 1.377 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/1.071, allocations: 1.595 MB / 1.379 GB, free: 13.44 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/1.071, allocations: 0 / 1.379 GB, free: 13.44 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/1.071, allocations: 66.84 kB / 1.379 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.543e-05/1.071, allocations: 38.59 kB / 1.379 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/1.074, allocations: 1.594 MB / 1.38 GB, free: 12.61 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.006623/1.08, allocations: 4.667 MB / 1.385 GB, free: 8.879 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/1.082, allocations: 1.097 MB / 1.386 GB, free: 8.324 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007012/1.083, allocations: 435.2 kB / 1.386 GB, free: 8.105 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.806e-05/1.083, allocations: 48.12 kB / 1.386 GB, free: 8.074 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/1.084, allocations: 0.6957 MB / 1.387 GB, free: 7.637 MB / 1.076 GB Notification: Performance of pre-optimization done (n=111): time 4.388e-06/1.084, allocations: 0 / 1.387 GB, free: 7.637 MB / 1.076 GB Notification: Performance of matching and sorting (n=111): time 0.003898/1.088, allocations: 1.655 MB / 1.389 GB, free: 6.754 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/1.088, allocations: 201.2 kB / 1.389 GB, free: 6.527 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/1.089, allocations: 0.8412 MB / 1.39 GB, free: 6.039 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.428e-05/1.089, allocations: 47.92 kB / 1.39 GB, free: 5.992 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00044/1.09, allocations: 0.6162 MB / 1.39 GB, free: 5.449 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/1.09, allocations: 362.5 kB / 1.391 GB, free: 5.133 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000299/1.09, allocations: 208.8 kB / 1.391 GB, free: 5.008 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.09, allocations: 347.5 kB / 1.391 GB, free: 4.672 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006416/1.091, allocations: 380.4 kB / 1.392 GB, free: 4.477 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007481/1.092, allocations: 0.5004 MB / 1.392 GB, free: 4.164 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/1.093, allocations: 0.8593 MB / 1.393 GB, free: 3.691 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/1.093, allocations: 0 / 1.393 GB, free: 3.691 MB / 1.076 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002384/1.096, allocations: 1.154 MB / 1.394 GB, free: 3.102 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/1.096, allocations: 6.781 kB / 1.394 GB, free: 3.102 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.096, allocations: 0.8438 kB / 1.394 GB, free: 3.102 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00059/1.096, allocations: 85.7 kB / 1.394 GB, free: 3.059 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008988/1.097, allocations: 217.5 kB / 1.394 GB, free: 3.004 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/1.099, allocations: 1.656 MB / 1.396 GB, free: 1.383 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009602/1.1, allocations: 131.1 kB / 1.396 GB, free: 1.297 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.461e-05/1.1, allocations: 47.45 kB / 1.396 GB, free: 1.277 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 (HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.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 (127): * Single equations (assignments): 126 * 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.0005892/1.101, allocations: 344.6 kB / 1.396 GB, free: 1.023 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/1.101, allocations: 109.7 kB / 1.397 GB, free: 0.9688 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002935/1.104, allocations: 1.531 MB / 1.398 GB, free: 120 kB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/1.104, allocations: 13.16 kB / 1.398 GB, free: 120 kB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/1.104, allocations: 7.938 kB / 1.398 GB, free: 112 kB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/1.104, allocations: 10.47 kB / 1.398 GB, free: 104 kB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/1.106, allocations: 1.376 MB / 1.399 GB, free: 15.09 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/1.106, allocations: 0 / 1.399 GB, free: 15.09 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007583/1.106, allocations: 195.6 kB / 1.4 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004186/1.107, allocations: 77.34 kB / 1.4 GB, free: 15 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.009e-05/1.107, allocations: 34.5 kB / 1.4 GB, free: 14.98 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/1.109, allocations: 1.684 MB / 1.401 GB, free: 13.35 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.109, allocations: 0 / 1.401 GB, free: 13.35 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/1.111, allocations: 1.273 MB / 1.403 GB, free: 12.69 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000485/1.112, allocations: 360.6 kB / 1.403 GB, free: 12.38 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/1.112, allocations: 39.17 kB / 1.403 GB, free: 12.35 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008096/1.113, allocations: 80.45 kB / 1.403 GB, free: 12.31 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/1.113, allocations: 98.48 kB / 1.403 GB, free: 12.25 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.65e-05/1.113, allocations: 56.2 kB / 1.403 GB, free: 12.23 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007253/1.114, allocations: 0.612 MB / 1.404 GB, free: 11.88 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.41e-07/1.114, allocations: 0 / 1.404 GB, free: 11.88 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001159/1.115, allocations: 479.6 kB / 1.404 GB, free: 11.73 MB / 1.092 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,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * 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.003803/1.119, allocations: 2.358 MB / 1.407 GB, free: 10.16 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002041/1.121, allocations: 1.121 MB / 1.408 GB, free: 9.023 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/1.121, allocations: 0 / 1.408 GB, free: 9.023 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/1.122, allocations: 0.6815 MB / 1.408 GB, free: 8.328 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/1.123, allocations: 346.7 kB / 1.409 GB, free: 8.008 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/1.136, allocations: 8.677 MB / 1.417 GB, free: 15.18 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009/1.137, allocations: 1.22 MB / 1.418 GB, free: 13.93 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001208/1.138, allocations: 321.3 kB / 1.419 GB, free: 13.61 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00084/1.139, allocations: 0.6047 MB / 1.419 GB, free: 13 MB / 1.107 GB Notification: Performance of SimCode: time 1.323e-06/1.139, allocations: 3.938 kB / 1.419 GB, free: 13 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06306/1.202, allocations: 29.99 MB / 1.449 GB, free: 15.38 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.29, allocations: 13.41 kB / 1.449 GB, free: 15.37 MB / 1.139 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches