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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 113.1 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 225.6 MB / 249.3 MB, free: 3.336 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.509/2.509, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001803/0.001803, allocations: 63.84 kB / 1.107 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7705/0.7723, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001824/0.7742, allocations: 0.8344 MB / 1.272 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001097/0.7743, allocations: 49.03 kB / 1.272 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.771e-05/0.7743, allocations: 1.469 kB / 1.272 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.7744, allocations: 9.469 kB / 1.272 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.712e-05/0.7744, allocations: 6.016 kB / 1.272 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.775e-05/0.7745, allocations: 20.25 kB / 1.272 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.7746, allocations: 63.53 kB / 1.272 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.7747, allocations: 34.7 kB / 1.272 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.023e-05/0.7748, allocations: 26.58 kB / 1.272 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.441e-05/0.7748, allocations: 30.12 kB / 1.272 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.7749, allocations: 10.16 kB / 1.272 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.7749, allocations: 6.375 kB / 1.272 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.7749, allocations: 12.97 kB / 1.272 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.7749, allocations: 35.77 kB / 1.272 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.775, allocations: 81.59 kB / 1.273 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.775, allocations: 0 / 1.273 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.775, allocations: 0.7188 kB / 1.273 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.775, allocations: 0 / 1.273 GB, free: 6.961 MB / 0.9981 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.0003234/0.7754, allocations: 376 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.7754, allocations: 14.44 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.676e-05/0.7754, allocations: 42.56 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.7755, allocations: 17.84 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.7756, allocations: 196.3 kB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.7756, allocations: 3.594 kB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.7756, allocations: 10.7 kB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.7757, allocations: 91.97 kB / 1.273 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.7758, allocations: 5.125 kB / 1.273 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.7758, allocations: 4 kB / 1.273 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.7758, allocations: 3 kB / 1.273 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.312e-05/0.7758, allocations: 39.64 kB / 1.273 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.7762, allocations: 438.1 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.067e-05/0.7763, allocations: 41.41 kB / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.693e-05/0.7763, allocations: 19.86 kB / 1.274 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.7763, allocations: 0.9062 kB / 1.274 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.142e-05/0.7763, allocations: 41.14 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.7763, allocations: 0 / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001408/0.7765, allocations: 57.02 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.7765, allocations: 82.17 kB / 1.274 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.7766, allocations: 160.5 kB / 1.274 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.51e-06/0.7766, allocations: 29.64 kB / 1.274 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.7766, allocations: 105 kB / 1.274 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.001e-06/0.7767, allocations: 4.703 kB / 1.274 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.7767, allocations: 17.84 kB / 1.274 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.646e-05/0.7767, allocations: 318.9 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.7767, allocations: 6.297 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.679e-05/0.7767, allocations: 25.98 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.18e-05/0.7768, allocations: 23.19 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.7768, allocations: 0 / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.131e-05/0.7769, allocations: 64.34 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.7769, allocations: 9.531 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.7769, allocations: 0 / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.7769, allocations: 5.062 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.939e-05/0.7769, allocations: 5.844 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.7769, allocations: 0.75 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.72e-05/0.777, allocations: 10 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.777, allocations: 1.406 kB / 1.275 GB, free: 4.828 MB / 0.9981 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 4.362e-05/0.777, allocations: 117.7 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.7771, allocations: 15.78 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/0.7771, allocations: 15.78 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.7771, allocations: 0.875 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.7771, allocations: 4 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.7771, allocations: 0.875 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.7773, allocations: 464.2 kB / 1.275 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.7773, allocations: 4.953 kB / 1.275 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.619e-05/0.7774, allocations: 2.625 kB / 1.275 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.7774, allocations: 1.125 kB / 1.275 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.7774, allocations: 4.875 kB / 1.275 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.7774, allocations: 5.188 kB / 1.275 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.7774, allocations: 5.156 kB / 1.275 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.572e-05/0.7774, allocations: 78.97 kB / 1.275 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.7775, allocations: 86.12 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.7775, allocations: 1.719 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.964e-05/0.7775, allocations: 4.594 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.7775, allocations: 10.16 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.7775, allocations: 0.6875 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.582e-05/0.7776, allocations: 121.4 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7776, allocations: 0 / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000174/0.7777, allocations: 7.5 kB / 1.276 GB, free: 3.906 MB / 0.9981 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.0002304/0.778, allocations: 0.6152 MB / 1.276 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.636e-05/0.778, allocations: 19.28 kB / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7781, allocations: 0.9375 kB / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.004e-05/0.7781, allocations: 6.391 kB / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.7782, allocations: 10.25 kB / 1.276 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008882/0.7791, allocations: 1.337 MB / 1.278 GB, free: 18.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.7794, allocations: 0.6922 MB / 1.278 GB, free: 17.35 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.69e-05/0.7794, allocations: 6.609 kB / 1.278 GB, free: 17.35 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.7794, allocations: 30.56 kB / 1.278 GB, free: 17.33 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.7794, allocations: 0 / 1.278 GB, free: 17.33 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.8016, allocations: 1.561 MB / 1.28 GB, free: 16.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.844/7.646, allocations: 13.28 kB / 1.28 GB, free: 16.95 MB / 1.014 GB " [Timeout remaining time 292] (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 --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: 12.997727231000681]