Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001308/0.001308, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001734/0.001734, allocations: 222.5 kB / 23.03 MB, free: 4.945 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.859/2.859, allocations: 476.8 MB / 0.7715 GB, free: 3.918 MB / 0.6231 GB " [Timeout remaining time 176] 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.From_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="cs",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.002027/0.002027, allocations: 62.84 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3287, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002198/0.3309, allocations: 0.7883 MB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001222/0.331, allocations: 51.78 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.3311, allocations: 0 / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.224e-05/0.3311, allocations: 11.86 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.364e-05/0.3312, allocations: 11.81 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.187e-05/0.3313, allocations: 19.98 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.3314, allocations: 59.84 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.3316, allocations: 29.55 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.971e-05/0.3317, allocations: 27.86 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.3317, allocations: 35.77 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.3318, allocations: 4 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.536e-05/0.3318, allocations: 12 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.3318, allocations: 19.88 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.3318, allocations: 23.86 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.332, allocations: 75.16 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.332, allocations: 0 / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.224e-06/0.332, allocations: 0 / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.332, allocations: 0 / 1.285 GB, free: 9.523 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005084/0.3325, allocations: 310 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3326, allocations: 12.03 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.593e-05/0.3326, allocations: 4.188 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.3326, allocations: 42.75 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.3326, allocations: 12.83 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.3329, allocations: 134.4 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.3329, allocations: 4.375 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.3329, allocations: 8.375 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.3331, allocations: 103.5 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.3331, allocations: 0 / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3331, allocations: 4 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3331, allocations: 0 / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.194e-05/0.3332, allocations: 35.98 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.3338, allocations: 395.8 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.856e-05/0.3338, allocations: 37.2 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.3339, allocations: 17.78 kB / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.3339, allocations: 0 / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.3339, allocations: 42.53 kB / 1.286 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.3339, allocations: 0 / 1.286 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001898/0.3341, allocations: 53.58 kB / 1.286 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.3342, allocations: 81.11 kB / 1.286 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.3344, allocations: 158.5 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.3344, allocations: 29.7 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3345, allocations: 108 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.3345, allocations: 11.92 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.3346, allocations: 17.72 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3347, allocations: 314.8 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.817e-05/0.3348, allocations: 11.92 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.3348, allocations: 21.72 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.222e-05/0.3348, allocations: 25.66 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3348, allocations: 4 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.941e-05/0.3349, allocations: 61.64 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.335, allocations: 10.28 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.335, allocations: 0 / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.335, allocations: 0 / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.798e-05/0.3351, allocations: 12 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3351, allocations: 7.875 kB / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.453e-05/0.3351, allocations: 3.953 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3352, allocations: 4 kB / 1.287 GB, free: 7.23 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.0001169/0.3353, allocations: 121.9 kB / 1.287 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.3353, allocations: 11.89 kB / 1.287 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.3353, allocations: 3.812 kB / 1.287 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3354, allocations: 4 kB / 1.287 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3354, allocations: 0 / 1.287 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3354, allocations: 0 / 1.287 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.3358, allocations: 441.8 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3359, allocations: 0 / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.43e-05/0.3359, allocations: 4 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.3359, allocations: 3.984 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3359, allocations: 8.062 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3359, allocations: 0 / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3359, allocations: 0 / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.336, allocations: 77.83 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.336, allocations: 16.03 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.3361, allocations: 4 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.738e-05/0.3361, allocations: 3.984 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.3361, allocations: 0 / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.3361, allocations: 0 / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001215/0.3362, allocations: 121.3 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3362, allocations: 0 / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001998/0.3364, allocations: 15.98 kB / 1.288 GB, free: 6.324 MB / 0.9825 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.0005159/0.3369, allocations: 0.6171 MB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.337, allocations: 12 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3371, allocations: 0 / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.926e-05/0.3371, allocations: 15.92 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.3373, allocations: 5.547 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.339, allocations: 1.337 MB / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.64e-05/0.3391, allocations: 83.64 kB / 1.29 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.843e-05/0.3391, allocations: 8.422 kB / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.243e-05/0.3392, allocations: 23.44 kB / 1.29 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of SimCode: time 6.02e-07/0.3392, allocations: 0 / 1.29 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.3614, allocations: 1.762 MB / 1.292 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.9, allocations: 10.05 kB / 1.292 GB, free: 2.469 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.95102268399205]