Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.001477/0.001477, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.001698/0.001698, allocations: 222.9 kB / 22.26 MB, free: 5.211 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 7.988 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.55/3.55, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",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.00206/0.00206, allocations: 66.36 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3447, allocations: 180.2 MB / 1.353 GB, free: 8.48 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002228/0.3469, allocations: 0.8335 MB / 1.354 GB, free: 7.648 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001305/0.3471, allocations: 43.78 kB / 1.354 GB, free: 7.605 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.254e-05/0.3471, allocations: 4 kB / 1.354 GB, free: 7.602 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.878e-05/0.3472, allocations: 11.86 kB / 1.354 GB, free: 7.59 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.663e-05/0.3473, allocations: 11.88 kB / 1.354 GB, free: 7.578 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.957e-05/0.3473, allocations: 15.98 kB / 1.354 GB, free: 7.562 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.3475, allocations: 63.84 kB / 1.354 GB, free: 7.5 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.3476, allocations: 35.95 kB / 1.354 GB, free: 7.465 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.094e-05/0.3477, allocations: 23.88 kB / 1.354 GB, free: 7.441 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.079e-05/0.3477, allocations: 31.78 kB / 1.354 GB, free: 7.41 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.3478, allocations: 4 kB / 1.354 GB, free: 7.406 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.3478, allocations: 8 kB / 1.354 GB, free: 7.398 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.3478, allocations: 15.94 kB / 1.354 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.3478, allocations: 35.73 kB / 1.354 GB, free: 7.348 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.348, allocations: 79.86 kB / 1.354 GB, free: 7.27 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.348, allocations: 3.938 kB / 1.354 GB, free: 7.266 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.263e-06/0.348, allocations: 0 / 1.354 GB, free: 7.266 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.348, allocations: 0 / 1.354 GB, free: 7.266 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004664/0.3484, allocations: 306 kB / 1.354 GB, free: 6.934 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3485, allocations: 8.031 kB / 1.354 GB, free: 6.926 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.3485, allocations: 42.69 kB / 1.354 GB, free: 6.875 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.3486, allocations: 12.89 kB / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.3488, allocations: 142.4 kB / 1.355 GB, free: 6.699 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.3488, allocations: 384 / 1.355 GB, free: 6.699 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.3488, allocations: 12.38 kB / 1.355 GB, free: 6.688 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.349, allocations: 93.36 kB / 1.355 GB, free: 6.586 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.349, allocations: 3.938 kB / 1.355 GB, free: 6.582 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.349, allocations: 4 kB / 1.355 GB, free: 6.578 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.349, allocations: 4 kB / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.826e-05/0.3491, allocations: 39.98 kB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.3496, allocations: 403.8 kB / 1.355 GB, free: 6.094 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.633e-05/0.3497, allocations: 33.16 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.74e-05/0.3498, allocations: 29.88 kB / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.3498, allocations: 0 / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.3498, allocations: 30.56 kB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3498, allocations: 0 / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001858/0.35, allocations: 65.52 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.35, allocations: 77.11 kB / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.3502, allocations: 160.1 kB / 1.355 GB, free: 5.641 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.3502, allocations: 25.7 kB / 1.355 GB, free: 5.609 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/0.3503, allocations: 108 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.504e-06/0.3503, allocations: 3.953 kB / 1.356 GB, free: 5.496 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.3503, allocations: 21.66 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3505, allocations: 322.8 kB / 1.356 GB, free: 5.145 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.561e-05/0.3505, allocations: 0 / 1.356 GB, free: 5.145 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.459e-05/0.3505, allocations: 21.72 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.644e-05/0.3506, allocations: 29.66 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3506, allocations: 0 / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.222e-05/0.3507, allocations: 57.64 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3507, allocations: 11.94 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.3507, allocations: 0 / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3507, allocations: 4.031 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.04e-05/0.3507, allocations: 7.984 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.3508, allocations: 8.062 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/0.3508, allocations: 3.953 kB / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.3508, allocations: 7.938 kB / 1.356 GB, free: 4.977 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 8.301e-05/0.3509, allocations: 117.8 kB / 1.356 GB, free: 4.852 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.3509, allocations: 11.89 kB / 1.356 GB, free: 4.84 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.3509, allocations: 11.81 kB / 1.356 GB, free: 4.824 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3509, allocations: 0 / 1.356 GB, free: 4.824 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3509, allocations: 4 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3509, allocations: 0 / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.3514, allocations: 453.7 kB / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3514, allocations: 0 / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.407e-05/0.3514, allocations: 7.984 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3514, allocations: 0 / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.3514, allocations: 0 / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3514, allocations: 0 / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3514, allocations: 0 / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.667e-05/0.3515, allocations: 89.89 kB / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.3515, allocations: 7.938 kB / 1.357 GB, free: 4.195 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.3515, allocations: 4 kB / 1.357 GB, free: 4.191 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.046e-05/0.3516, allocations: 0 / 1.357 GB, free: 4.191 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.3516, allocations: 4 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.3516, allocations: 4 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001035/0.3517, allocations: 121.5 kB / 1.357 GB, free: 4.066 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3517, allocations: 0 / 1.357 GB, free: 4.066 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001866/0.3519, allocations: 8 kB / 1.357 GB, free: 4.059 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.0004146/0.3523, allocations: 0.617 MB / 1.357 GB, free: 3.41 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.031e-05/0.3524, allocations: 20.03 kB / 1.357 GB, free: 3.391 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3524, allocations: 0 / 1.357 GB, free: 3.391 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.539e-05/0.3524, allocations: 11.92 kB / 1.357 GB, free: 3.379 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.3525, allocations: 7.938 kB / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.3539, allocations: 1.332 MB / 1.359 GB, free: 1.941 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.3542, allocations: 0.6924 MB / 1.359 GB, free: 1.223 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.3542, allocations: 12.36 kB / 1.359 GB, free: 1.211 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.3543, allocations: 19.44 kB / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.3543, allocations: 0 / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.3833, allocations: 1.691 MB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.46, allocations: 7.938 kB / 1.361 GB, free: 15.62 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.823812174843624]