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.000764/0.000764, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008014/0.0008014, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9077/0.9077, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.667/1.667, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.38e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.0018/0.001823, allocations: 0.7984 MB / 0.9513 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001087/0.001932, allocations: 39.78 kB / 0.9513 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.714e-05/0.001979, allocations: 4 kB / 0.9513 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.851e-05/0.002018, allocations: 7.875 kB / 0.9513 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.836e-05/0.002096, allocations: 3.938 kB / 0.9513 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.534e-05/0.002142, allocations: 23.97 kB / 0.9514 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.002291, allocations: 67.77 kB / 0.9514 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.002431, allocations: 27.98 kB / 0.9514 GB, free: 2.527 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.147e-05/0.002512, allocations: 39.89 kB / 0.9515 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.00258, allocations: 19.92 kB / 0.9515 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.002606, allocations: 4 kB / 0.9515 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.265e-06/0.002615, allocations: 8 kB / 0.9515 GB, free: 2.457 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.002637, allocations: 15.91 kB / 0.9515 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.002667, allocations: 19.94 kB / 0.9515 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.002788, allocations: 79.62 kB / 0.9516 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.00279, allocations: 0 / 0.9516 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.513e-06/0.002792, allocations: 3.938 kB / 0.9516 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.002797, allocations: 0 / 0.9516 GB, free: 2.34 MB / 0.9011 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.0003803/0.003177, allocations: 310 kB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.003223, allocations: 8.031 kB / 0.9519 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.519e-05/0.003268, allocations: 38.75 kB / 0.952 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.003297, allocations: 12.84 kB / 0.952 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.003498, allocations: 137.5 kB / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.003513, allocations: 8.375 kB / 0.9521 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.003527, allocations: 8.375 kB / 0.9521 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.003686, allocations: 94.12 kB / 0.9522 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.003696, allocations: 192 / 0.9522 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.003708, allocations: 4.375 kB / 0.9522 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.003716, allocations: 12.12 kB / 0.9522 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.173e-05/0.003788, allocations: 35.92 kB / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004875/0.004275, allocations: 387.9 kB / 0.9526 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.924e-05/0.004335, allocations: 37.19 kB / 0.9527 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.351e-05/0.004368, allocations: 25.83 kB / 0.9527 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.004377, allocations: 3.984 kB / 0.9527 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.004398, allocations: 30.56 kB / 0.9527 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.004399, allocations: 4 kB / 0.9527 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.000159/0.004558, allocations: 57.59 kB / 0.9528 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.004606, allocations: 85.03 kB / 0.9529 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.004724, allocations: 152.8 kB / 0.953 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002122/0.004936, allocations: 25.7 kB / 0.953 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.87e-05/0.005005, allocations: 108 kB / 0.9531 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.185e-06/0.005013, allocations: 7.938 kB / 0.9532 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.005046, allocations: 25.66 kB / 0.9532 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.005128, allocations: 314.8 kB / 0.9535 GB, free: 240 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.005144, allocations: 4 kB / 0.9535 GB, free: 236 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-05/0.005171, allocations: 25.89 kB / 0.9535 GB, free: 204 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.767e-05/0.005209, allocations: 33.72 kB / 0.9535 GB, free: 164 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.005212, allocations: 0 / 0.9535 GB, free: 164 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.702e-05/0.005279, allocations: 61.58 kB / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.005296, allocations: 8 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.005304, allocations: 0 / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.005321, allocations: 0 / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.504e-05/0.005386, allocations: 7.938 kB / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.005392, allocations: 0 / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.00541, allocations: 8.062 kB / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.005414, allocations: 0 / 0.9536 GB, free: 72 kB / 0.9011 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.086e-05/0.005495, allocations: 117.8 kB / 0.9537 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.005518, allocations: 15.84 kB / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.005542, allocations: 15.8 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.005545, allocations: 0 / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.005552, allocations: 7.938 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.005555, allocations: 0 / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.005831, allocations: 429.9 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.005833, allocations: 4.062 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.537e-05/0.005849, allocations: 7.938 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.005851, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.005858, allocations: 3.938 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.005859, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.005861, allocations: 7.984 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.741e-05/0.005918, allocations: 69.95 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.005945, allocations: 19.88 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.005956, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-06/0.005966, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.005978, allocations: 4.031 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.00598, allocations: 4 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.356e-05/0.006043, allocations: 122.3 kB / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006043, allocations: 0 / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001353/0.006179, allocations: 11.94 kB / 0.9544 GB, free: 15.16 MB / 0.9167 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.0002651/0.006444, allocations: 0.6132 MB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.933e-05/0.006523, allocations: 19.94 kB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.006525, allocations: 0 / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.871e-06/0.006531, allocations: 8.156 kB / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.006659, allocations: 8 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008907/0.007549, allocations: 1.341 MB / 0.9564 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.04e-05/0.0076, allocations: 75.33 kB / 0.9564 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.038e-05/0.00763, allocations: 12.61 kB / 0.9564 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.007831, allocations: 24.5 kB / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of SimCode: time 5.31e-07/0.007832, allocations: 0 / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.02409, allocations: 2.24 MB / 0.9587 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.659/6.683, allocations: 6.562 kB / 0.9587 GB, free: 10.8 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_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_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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/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: 10.804393395781517]