Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001324/0.001324, allocations: 107.8 kB / 16.45 MB, free: 6.02 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.001438/0.001438, allocations: 208.3 kB / 19.43 MB, free: 3.516 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.497/1.497, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.353/3.353, allocations: 0.505 GB / 0.8066 GB, free: 23.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.From_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_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.002321/0.002321, allocations: 71.45 kB / 1.172 GB, free: 17.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3802, allocations: 180.2 MB / 1.348 GB, free: 9.902 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.00231/0.3825, allocations: 0.888 MB / 1.349 GB, free: 9.016 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001607/0.3826, allocations: 55.78 kB / 1.349 GB, free: 8.961 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.758e-05/0.3827, allocations: 0 / 1.349 GB, free: 8.961 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.548e-05/0.3827, allocations: 15.81 kB / 1.349 GB, free: 8.945 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.008e-05/0.3828, allocations: 11.86 kB / 1.349 GB, free: 8.934 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.249e-05/0.3829, allocations: 23.98 kB / 1.349 GB, free: 8.91 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.3831, allocations: 83.75 kB / 1.349 GB, free: 8.828 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.3832, allocations: 33.11 kB / 1.349 GB, free: 8.793 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.04e-05/0.3833, allocations: 35.8 kB / 1.349 GB, free: 8.758 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.076e-05/0.3834, allocations: 35.78 kB / 1.349 GB, free: 8.723 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.3834, allocations: 12 kB / 1.349 GB, free: 8.711 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.3834, allocations: 8 kB / 1.349 GB, free: 8.703 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.3834, allocations: 19.92 kB / 1.349 GB, free: 8.684 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.3835, allocations: 39.75 kB / 1.349 GB, free: 8.645 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.3837, allocations: 111.6 kB / 1.349 GB, free: 8.535 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3837, allocations: 0 / 1.349 GB, free: 8.535 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3837, allocations: 0 / 1.349 GB, free: 8.535 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.3837, allocations: 0 / 1.349 GB, free: 8.535 MB / 1.045 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.0005678/0.3842, allocations: 403.1 kB / 1.349 GB, free: 8.09 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.3843, allocations: 15.98 kB / 1.349 GB, free: 8.074 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.952e-05/0.3844, allocations: 42.73 kB / 1.35 GB, free: 8.023 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.3844, allocations: 16.84 kB / 1.35 GB, free: 8.008 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.3847, allocations: 206.2 kB / 1.35 GB, free: 7.77 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.3847, allocations: 8.562 kB / 1.35 GB, free: 7.762 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.3847, allocations: 8.312 kB / 1.35 GB, free: 7.754 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.385, allocations: 107.3 kB / 1.35 GB, free: 7.637 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.385, allocations: 0 / 1.35 GB, free: 7.637 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.385, allocations: 11.94 kB / 1.35 GB, free: 7.625 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.385, allocations: 4 kB / 1.35 GB, free: 7.621 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.407e-05/0.3851, allocations: 39.98 kB / 1.35 GB, free: 7.582 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006721/0.3858, allocations: 460.5 kB / 1.35 GB, free: 7.078 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.777e-05/0.3858, allocations: 41.09 kB / 1.35 GB, free: 7.02 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.186e-05/0.3859, allocations: 21.83 kB / 1.35 GB, free: 6.992 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/0.3859, allocations: 0 / 1.35 GB, free: 6.992 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.3859, allocations: 38.56 kB / 1.35 GB, free: 6.945 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.3859, allocations: 0 / 1.35 GB, free: 6.945 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002042/0.3861, allocations: 49.59 kB / 1.351 GB, free: 6.891 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.3862, allocations: 81.36 kB / 1.351 GB, free: 6.793 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.3864, allocations: 194.5 kB / 1.351 GB, free: 6.59 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.3864, allocations: 29.7 kB / 1.351 GB, free: 6.555 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.883e-05/0.3865, allocations: 112.2 kB / 1.351 GB, free: 6.441 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-06/0.3865, allocations: 3.953 kB / 1.351 GB, free: 6.438 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.3865, allocations: 25.64 kB / 1.351 GB, free: 6.406 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3867, allocations: 318.8 kB / 1.351 GB, free: 6.086 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.3867, allocations: 7.984 kB / 1.351 GB, free: 6.078 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.524e-05/0.3867, allocations: 21.72 kB / 1.351 GB, free: 6.051 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.018e-05/0.3868, allocations: 21.72 kB / 1.351 GB, free: 6.023 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3868, allocations: 0 / 1.351 GB, free: 6.023 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.594e-05/0.3869, allocations: 69.53 kB / 1.351 GB, free: 5.949 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3869, allocations: 4 kB / 1.351 GB, free: 5.945 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3869, allocations: 0 / 1.351 GB, free: 5.945 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3869, allocations: 0 / 1.351 GB, free: 5.945 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/0.387, allocations: 12.06 kB / 1.351 GB, free: 5.934 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.387, allocations: 0 / 1.351 GB, free: 5.934 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.624e-05/0.387, allocations: 11.88 kB / 1.351 GB, free: 5.922 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.387, allocations: 96 / 1.351 GB, free: 5.922 MB / 1.045 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.0001048/0.3871, allocations: 125.7 kB / 1.351 GB, free: 5.789 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.3872, allocations: 15.89 kB / 1.352 GB, free: 5.773 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.3872, allocations: 12.56 kB / 1.352 GB, free: 5.758 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3872, allocations: 0 / 1.352 GB, free: 5.758 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.3872, allocations: 4 kB / 1.352 GB, free: 5.754 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3872, allocations: 7.938 kB / 1.352 GB, free: 5.746 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.3877, allocations: 474.8 kB / 1.352 GB, free: 5.219 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3877, allocations: 0 / 1.352 GB, free: 5.219 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.89e-05/0.3877, allocations: 8 kB / 1.352 GB, free: 5.211 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.3877, allocations: 3.938 kB / 1.352 GB, free: 5.207 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-06/0.3877, allocations: 4 kB / 1.352 GB, free: 5.203 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3877, allocations: 0 / 1.352 GB, free: 5.203 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3877, allocations: 4.062 kB / 1.352 GB, free: 5.199 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.454e-05/0.3878, allocations: 81.89 kB / 1.352 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.066e-05/0.3879, allocations: 89.05 kB / 1.352 GB, free: 4.992 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.3879, allocations: 7.938 kB / 1.352 GB, free: 4.984 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.049e-05/0.3879, allocations: 0 / 1.352 GB, free: 4.984 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.3879, allocations: 7.938 kB / 1.352 GB, free: 4.977 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.3879, allocations: 4.031 kB / 1.352 GB, free: 4.973 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001193/0.388, allocations: 135.2 kB / 1.352 GB, free: 4.84 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.388, allocations: 0 / 1.352 GB, free: 4.84 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001875/0.3882, allocations: 8 kB / 1.352 GB, free: 4.832 MB / 1.045 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.0004751/0.3887, allocations: 0.6249 MB / 1.353 GB, free: 4.172 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.537e-05/0.3888, allocations: 19.94 kB / 1.353 GB, free: 4.152 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3888, allocations: 0 / 1.353 GB, free: 4.152 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.031e-05/0.3888, allocations: 4 kB / 1.353 GB, free: 4.148 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.389, allocations: 12.22 kB / 1.353 GB, free: 4.141 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.3905, allocations: 1.41 MB / 1.354 GB, free: 2.637 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.3909, allocations: 0.6963 MB / 1.355 GB, free: 1.914 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.12e-05/0.3909, allocations: 8.547 kB / 1.355 GB, free: 1.906 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.391, allocations: 27.42 kB / 1.355 GB, free: 1.879 MB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/0.391, allocations: 8 kB / 1.355 GB, free: 1.871 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.4167, allocations: 1.751 MB / 1.357 GB, free: 240 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.389/8.806, allocations: 9.781 kB / 1.357 GB, free: 232 kB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 15.82838608394377]