Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.001729/0.001729, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002155/0.002155, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.275/3.275, allocations: 0.49 GB / 0.7951 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.From_BtuPerHour,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",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.002017/0.002017, allocations: 69.08 kB / 1.154 GB, free: 25.92 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3786, allocations: 176.1 MB / 1.326 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.00201/0.3806, allocations: 0.8308 MB / 1.327 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000118/0.3807, allocations: 47.78 kB / 1.327 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.3807, allocations: 0 / 1.327 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.461e-05/0.3808, allocations: 7.875 kB / 1.327 GB, free: 1.219 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.955e-05/0.3809, allocations: 15.86 kB / 1.327 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.585e-05/0.3809, allocations: 15.98 kB / 1.327 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.381, allocations: 63.84 kB / 1.327 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3812, allocations: 31.97 kB / 1.327 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.24e-05/0.3812, allocations: 31.86 kB / 1.327 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.044e-05/0.3813, allocations: 23.86 kB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.3813, allocations: 4 kB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.3813, allocations: 12 kB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.3813, allocations: 19.86 kB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.3814, allocations: 35.73 kB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.3815, allocations: 79.86 kB / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3815, allocations: 0 / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3815, allocations: 0 / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3815, allocations: 0 / 1.327 GB, free: 0.8906 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004198/0.3819, allocations: 303.5 kB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.382, allocations: 8.031 kB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.382, allocations: 42.73 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.461e-05/0.382, allocations: 12.89 kB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.3822, allocations: 138.4 kB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.3822, allocations: 4.375 kB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.3823, allocations: 12.38 kB / 1.328 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.3824, allocations: 87.86 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3824, allocations: 11.86 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3824, allocations: 4 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3825, allocations: 4 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.418e-05/0.3825, allocations: 39.98 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005507/0.3831, allocations: 399.9 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.875e-05/0.3831, allocations: 37.16 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/0.3832, allocations: 25.83 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.3832, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.3832, allocations: 38.5 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3832, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001673/0.3834, allocations: 49.59 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.3834, allocations: 88.98 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.3836, allocations: 168.5 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.3836, allocations: 29.64 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.3837, allocations: 104 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.826e-06/0.3837, allocations: 3.953 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.3837, allocations: 17.72 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3839, allocations: 322.8 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.418e-05/0.3839, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-05/0.3839, allocations: 25.7 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.093e-05/0.384, allocations: 25.72 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.384, allocations: 3.938 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.6e-05/0.384, allocations: 57.64 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3841, allocations: 13.97 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3841, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.3841, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.48e-05/0.3841, allocations: 4 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3841, allocations: 12 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.978e-05/0.3842, allocations: 3.953 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-06/0.3842, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 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 8.678e-05/0.3843, allocations: 114.4 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.3843, allocations: 11.89 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.3843, allocations: 15.8 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.3843, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3843, allocations: 4 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.3843, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.3848, allocations: 445.8 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3848, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.129e-05/0.3848, allocations: 4 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3848, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.3848, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3848, allocations: 3.984 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3848, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.3849, allocations: 97.92 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.385, allocations: 11.94 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.385, allocations: 7.984 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.275e-05/0.385, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-06/0.385, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.385, allocations: 3.938 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.626e-05/0.3851, allocations: 125.5 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3851, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000189/0.3853, allocations: 8 kB / 1.33 GB, free: 13.67 MB / 1.029 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.0004213/0.3857, allocations: 0.6171 MB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.975e-05/0.3858, allocations: 19.94 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3858, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.177e-05/0.3858, allocations: 4 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.386, allocations: 15.88 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.3873, allocations: 1.331 MB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.3876, allocations: 0.6924 MB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.3876, allocations: 4.438 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.3877, allocations: 27.42 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3877, allocations: 0 / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/0.415, allocations: 1.69 MB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.24, allocations: 4.578 kB / 1.334 GB, free: 9.25 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.362264711000535]