Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 211.3 kB / 22.24 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.791/2.791, allocations: 476 MB / 0.7699 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 65.17 kB / 1.117 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.375, allocations: 169.9 MB / 1.283 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002791/0.3778, allocations: 0.8357 MB / 1.283 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001806/0.378, allocations: 55.72 kB / 1.283 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.51e-05/0.3781, allocations: 0 / 1.283 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.795e-05/0.3781, allocations: 11.86 kB / 1.283 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.3782, allocations: 15.81 kB / 1.283 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.639e-05/0.3783, allocations: 27.97 kB / 1.283 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.3785, allocations: 75.83 kB / 1.284 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.3787, allocations: 33.3 kB / 1.284 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.451e-05/0.3788, allocations: 47.72 kB / 1.284 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.3789, allocations: 27.78 kB / 1.284 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.3789, allocations: 8 kB / 1.284 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.923e-05/0.3789, allocations: 8 kB / 1.284 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.538e-05/0.3789, allocations: 15.94 kB / 1.284 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.24e-05/0.379, allocations: 35.8 kB / 1.284 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.3792, allocations: 107.7 kB / 1.284 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.3792, allocations: 0 / 1.284 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3792, allocations: 0 / 1.284 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.3792, allocations: 4 kB / 1.284 GB, free: 2.906 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006342/0.3799, allocations: 333.9 kB / 1.284 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.3799, allocations: 8.031 kB / 1.284 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.626e-05/0.38, allocations: 38.75 kB / 1.284 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.3801, allocations: 8.891 kB / 1.284 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.3804, allocations: 146.5 kB / 1.284 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.3804, allocations: 8.562 kB / 1.284 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.3804, allocations: 8.375 kB / 1.284 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.3807, allocations: 107.3 kB / 1.284 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3807, allocations: 0 / 1.284 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.3807, allocations: 8 kB / 1.284 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.3807, allocations: 7.938 kB / 1.284 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.3808, allocations: 39.92 kB / 1.285 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008023/0.3817, allocations: 419.6 kB / 1.285 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.777e-05/0.3817, allocations: 41.09 kB / 1.285 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.3818, allocations: 13.84 kB / 1.285 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.3818, allocations: 4 kB / 1.285 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.3818, allocations: 38.55 kB / 1.285 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.3818, allocations: 0 / 1.285 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002542/0.3821, allocations: 57.59 kB / 1.285 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.3822, allocations: 77.11 kB / 1.285 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.3825, allocations: 188.2 kB / 1.285 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.3825, allocations: 25.7 kB / 1.285 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.3826, allocations: 112 kB / 1.285 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.3826, allocations: 7.953 kB / 1.285 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.3827, allocations: 17.72 kB / 1.285 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002297/0.3829, allocations: 318.8 kB / 1.286 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.611e-05/0.3829, allocations: 4 kB / 1.286 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.455e-05/0.383, allocations: 37.88 kB / 1.286 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.632e-05/0.3831, allocations: 21.72 kB / 1.286 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3831, allocations: 0 / 1.286 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000151/0.3832, allocations: 65.8 kB / 1.286 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3832, allocations: 4 kB / 1.286 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3832, allocations: 3.938 kB / 1.286 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3832, allocations: 0 / 1.286 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.075e-05/0.3833, allocations: 8 kB / 1.286 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3833, allocations: 4.047 kB / 1.286 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.61e-05/0.3834, allocations: 15.83 kB / 1.286 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.3834, allocations: 4 kB / 1.286 GB, free: 0.5117 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.3835, allocations: 113.8 kB / 1.286 GB, free: 400 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.752e-05/0.3836, allocations: 11.91 kB / 1.286 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.3836, allocations: 16.48 kB / 1.286 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3836, allocations: 0 / 1.286 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.3836, allocations: 7.938 kB / 1.286 GB, free: 364 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.3836, allocations: 3.938 kB / 1.286 GB, free: 360 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006551/0.3843, allocations: 441.9 kB / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3843, allocations: 4.062 kB / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.3843, allocations: 4 kB / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.3843, allocations: 7.938 kB / 1.287 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3844, allocations: 0 / 1.287 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3844, allocations: 3.938 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3844, allocations: 0 / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.3845, allocations: 77.94 kB / 1.287 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.3845, allocations: 15.91 kB / 1.287 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.3846, allocations: 3.938 kB / 1.287 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.786e-05/0.3846, allocations: 4 kB / 1.287 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.3846, allocations: 8.016 kB / 1.287 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.3846, allocations: 0 / 1.287 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002426/0.3849, allocations: 144.3 kB / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3849, allocations: 0 / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000344/0.3852, allocations: 8 kB / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006225/0.3858, allocations: 0.6209 MB / 1.287 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.3859, allocations: 15.94 kB / 1.287 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.3859, allocations: 4.156 kB / 1.287 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.769e-05/0.386, allocations: 11.98 kB / 1.287 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.3862, allocations: 5.891 kB / 1.287 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.3883, allocations: 1.402 MB / 1.289 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.3884, allocations: 95.98 kB / 1.289 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.389e-05/0.3884, allocations: 8.625 kB / 1.289 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.375e-05/0.3885, allocations: 35.36 kB / 1.289 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.3885, allocations: 0 / 1.289 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04194/0.4304, allocations: 2.264 MB / 1.291 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.01, allocations: 8.281 kB / 1.291 GB, free: 11.1 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.65021366206929]