Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DirectTiltedSurface,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_11_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.007361/0.007368, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.00194/0.00194, allocations: 195.2 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.923/2.923, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003306/0.003306, allocations: 59.89 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4234, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.01547/0.439, allocations: 7.043 MB / 1.227 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8134/1.252, allocations: 151.2 MB / 1.375 GB, free: 9.105 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009156/1.253, allocations: 22.84 kB / 1.375 GB, free: 9.098 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007191/1.254, allocations: 263.1 kB / 1.375 GB, free: 8.93 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002242/1.256, allocations: 0.7686 MB / 1.376 GB, free: 8.457 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/1.259, allocations: 1.015 MB / 1.377 GB, free: 7.906 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002463/1.261, allocations: 2.099 MB / 1.379 GB, free: 6.801 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/1.263, allocations: 1.12 MB / 1.38 GB, free: 6.199 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/1.264, allocations: 0.818 MB / 1.381 GB, free: 5.777 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/1.265, allocations: 0.8828 MB / 1.381 GB, free: 5.254 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002915/1.265, allocations: 218.8 kB / 1.382 GB, free: 5.254 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/1.266, allocations: 0.5792 MB / 1.382 GB, free: 5.066 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000458/1.267, allocations: 489.5 kB / 1.383 GB, free: 4.668 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009929/1.268, allocations: 0.9713 MB / 1.384 GB, free: 3.961 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003213/1.271, allocations: 2.679 MB / 1.386 GB, free: 1.98 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.271, allocations: 0.8438 kB / 1.386 GB, free: 1.98 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.453e-06/1.271, allocations: 0 / 1.386 GB, free: 1.98 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.428e-05/1.271, allocations: 1.125 kB / 1.386 GB, free: 1.98 MB / 1.076 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.004087/1.275, allocations: 2.103 MB / 1.388 GB, free: 376 kB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/1.275, allocations: 10.5 kB / 1.388 GB, free: 376 kB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002784/1.276, allocations: 228.6 kB / 1.389 GB, free: 188 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/1.277, allocations: 267.8 kB / 1.389 GB, free: 52 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/1.278, allocations: 1.008 MB / 1.39 GB, free: 15.23 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/1.279, allocations: 142.5 kB / 1.39 GB, free: 15.15 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/1.279, allocations: 153.2 kB / 1.39 GB, free: 15.1 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002839/1.282, allocations: 1.591 MB / 1.392 GB, free: 14.12 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/1.282, allocations: 1.125 kB / 1.392 GB, free: 14.12 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/1.282, allocations: 70.48 kB / 1.392 GB, free: 14.06 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/1.282, allocations: 41.47 kB / 1.392 GB, free: 14.06 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002785/1.285, allocations: 1.594 MB / 1.393 GB, free: 13.29 MB / 1.092 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.007737/1.292, allocations: 4.682 MB / 1.398 GB, free: 9.535 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/1.295, allocations: 1.092 MB / 1.399 GB, free: 8.977 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007717/1.295, allocations: 431.7 kB / 1.399 GB, free: 8.758 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/1.295, allocations: 43.95 kB / 1.399 GB, free: 8.73 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/1.297, allocations: 0.7017 MB / 1.4 GB, free: 8.293 MB / 1.092 GB Notification: Performance of pre-optimization done (n=111): time 3.136e-06/1.297, allocations: 4 kB / 1.4 GB, free: 8.289 MB / 1.092 GB Notification: Performance of matching and sorting (n=111): time 0.004284/1.301, allocations: 1.66 MB / 1.402 GB, free: 7.398 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/1.301, allocations: 197.6 kB / 1.402 GB, free: 7.176 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/1.302, allocations: 0.8409 MB / 1.403 GB, free: 6.688 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 9.599e-05/1.302, allocations: 53.69 kB / 1.403 GB, free: 6.637 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006767/1.303, allocations: 0.6229 MB / 1.403 GB, free: 6.086 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003467/1.303, allocations: 385.8 kB / 1.404 GB, free: 5.75 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003369/1.304, allocations: 203.9 kB / 1.404 GB, free: 5.629 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.304, allocations: 347.6 kB / 1.404 GB, free: 5.293 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007354/1.305, allocations: 381.7 kB / 1.405 GB, free: 5.098 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008589/1.306, allocations: 0.5008 MB / 1.405 GB, free: 4.785 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/1.307, allocations: 0.8574 MB / 1.406 GB, free: 4.316 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.307, allocations: 1.375 kB / 1.406 GB, free: 4.316 MB / 1.092 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002592/1.31, allocations: 1.159 MB / 1.407 GB, free: 3.719 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/1.31, allocations: 4.906 kB / 1.407 GB, free: 3.719 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.31, allocations: 6.875 kB / 1.407 GB, free: 3.715 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005996/1.31, allocations: 81.73 kB / 1.407 GB, free: 3.676 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009556/1.311, allocations: 220.7 kB / 1.407 GB, free: 3.617 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/1.314, allocations: 1.656 MB / 1.409 GB, free: 2 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/1.315, allocations: 137 kB / 1.409 GB, free: 1.91 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.629e-05/1.315, allocations: 46.19 kB / 1.409 GB, free: 1.895 MB / 1.092 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.0006815/1.316, allocations: 346.6 kB / 1.409 GB, free: 1.637 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/1.316, allocations: 126.8 kB / 1.41 GB, free: 1.566 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003304/1.319, allocations: 1.521 MB / 1.411 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/1.319, allocations: 17.19 kB / 1.411 GB, free: 0.7188 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/1.319, allocations: 0 / 1.411 GB, free: 0.7188 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/1.319, allocations: 7.969 kB / 1.411 GB, free: 0.7109 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/1.321, allocations: 1.384 MB / 1.412 GB, free: 15.69 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.321, allocations: 3.984 kB / 1.412 GB, free: 15.69 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008204/1.322, allocations: 194.7 kB / 1.413 GB, free: 15.62 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004817/1.322, allocations: 80.78 kB / 1.413 GB, free: 15.54 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-05/1.322, allocations: 35.97 kB / 1.413 GB, free: 15.5 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/1.325, allocations: 1.677 MB / 1.414 GB, free: 13.68 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/1.325, allocations: 0 / 1.414 GB, free: 13.68 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/1.327, allocations: 1.282 MB / 1.416 GB, free: 12.38 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006083/1.328, allocations: 363.9 kB / 1.416 GB, free: 12 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/1.328, allocations: 31.95 kB / 1.416 GB, free: 11.97 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008975/1.329, allocations: 87.84 kB / 1.416 GB, free: 11.89 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/1.329, allocations: 93.17 kB / 1.416 GB, free: 11.79 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/1.329, allocations: 55.95 kB / 1.416 GB, free: 11.74 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008975/1.33, allocations: 0.6137 MB / 1.417 GB, free: 11.11 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.81e-07/1.33, allocations: 0 / 1.417 GB, free: 11.11 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001226/1.332, allocations: 486.6 kB / 1.417 GB, free: 10.64 MB / 1.107 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.004962/1.337, allocations: 2.36 MB / 1.42 GB, free: 8.434 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002357/1.339, allocations: 1.117 MB / 1.421 GB, free: 7.305 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.339, allocations: 7.938 kB / 1.421 GB, free: 7.297 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001278/1.34, allocations: 0.6816 MB / 1.421 GB, free: 6.602 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/1.342, allocations: 355.2 kB / 1.422 GB, free: 6.273 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/1.357, allocations: 8.731 MB / 1.43 GB, free: 13.38 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009223/1.358, allocations: 1.229 MB / 1.431 GB, free: 12.12 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001072/1.359, allocations: 313.3 kB / 1.432 GB, free: 11.82 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009442/1.36, allocations: 0.6086 MB / 1.432 GB, free: 11.21 MB / 1.123 GB Notification: Performance of SimCode: time 1.172e-06/1.36, allocations: 4 kB / 1.432 GB, free: 11.2 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06962/1.43, allocations: 29.39 MB / 1.461 GB, free: 14.18 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.8/20.23, allocations: 64 / 1.461 GB, free: 14.18 MB / 1.154 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches