Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008018/0.0008018, 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.0007726/0.0007726, 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.8997/0.8997, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.731/1.731, allocations: 377.9 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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_Btu,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.103e-05, allocations: 2.281 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001383/0.001404, allocations: 0.7906 MB / 0.9817 GB, free: 1.766 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001005/0.001505, allocations: 47.78 kB / 0.9818 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.815e-05/0.001553, allocations: 0 / 0.9818 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.621e-05/0.001589, allocations: 11.86 kB / 0.9818 GB, free: 1.707 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.02e-05/0.001669, allocations: 11.88 kB / 0.9818 GB, free: 1.695 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.755e-05/0.001707, allocations: 15.97 kB / 0.9818 GB, free: 1.68 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.155e-05/0.001799, allocations: 63.84 kB / 0.9819 GB, free: 1.617 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.001917, allocations: 31.92 kB / 0.9819 GB, free: 1.586 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.396e-05/0.001981, allocations: 39.84 kB / 0.982 GB, free: 1.547 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.002033, allocations: 19.91 kB / 0.982 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.002054, allocations: 4 kB / 0.982 GB, free: 1.523 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.135e-06/0.002062, allocations: 11.94 kB / 0.982 GB, free: 1.512 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.002081, allocations: 23.92 kB / 0.982 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.002105, allocations: 15.92 kB / 0.982 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.727e-05/0.002202, allocations: 71.75 kB / 0.9821 GB, free: 1.402 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.002204, allocations: 0 / 0.9821 GB, free: 1.402 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.12e-07/0.002205, allocations: 0 / 0.9821 GB, free: 1.402 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.002209, allocations: 0 / 0.9821 GB, free: 1.402 MB / 0.9323 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.0003597/0.002569, allocations: 298 kB / 0.9824 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.002618, allocations: 8.031 kB / 0.9824 GB, free: 1.07 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.737e-05/0.002655, allocations: 46.73 kB / 0.9824 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.00268, allocations: 12.84 kB / 0.9824 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.002846, allocations: 137.6 kB / 0.9826 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.002855, allocations: 4.375 kB / 0.9826 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.002866, allocations: 8.375 kB / 0.9826 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.002987, allocations: 90.92 kB / 0.9827 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-06/0.002994, allocations: 192 / 0.9827 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.003004, allocations: 8.312 kB / 0.9827 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.003009, allocations: 4.125 kB / 0.9827 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.937e-05/0.003068, allocations: 43.86 kB / 0.9827 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.00347, allocations: 395.7 kB / 0.9831 GB, free: 252 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.175e-05/0.003521, allocations: 41.34 kB / 0.9831 GB, free: 192 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.811e-05/0.003549, allocations: 21.78 kB / 0.9832 GB, free: 164 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-06/0.003559, allocations: 0 / 0.9832 GB, free: 164 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.00358, allocations: 38.55 kB / 0.9832 GB, free: 116 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.003581, allocations: 0 / 0.9832 GB, free: 116 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001446/0.003726, allocations: 49.59 kB / 0.9833 GB, free: 60 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.003776, allocations: 85.05 kB / 0.9833 GB, free: 15.96 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.003882, allocations: 164.3 kB / 0.9835 GB, free: 15.79 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.003891, allocations: 25.95 kB / 0.9835 GB, free: 15.76 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.003944, allocations: 108 kB / 0.9836 GB, free: 15.65 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.674e-06/0.003951, allocations: 3.953 kB / 0.9836 GB, free: 15.64 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.003978, allocations: 17.72 kB / 0.9836 GB, free: 15.62 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.491e-05/0.004053, allocations: 322.8 kB / 0.9839 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.004067, allocations: 4 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.836e-05/0.004085, allocations: 17.72 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.383e-05/0.004119, allocations: 29.7 kB / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.004121, allocations: 0 / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.061e-05/0.004181, allocations: 61.59 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.004194, allocations: 4 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.004198, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.00421, allocations: 96 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.707e-05/0.004267, allocations: 15.92 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.004271, allocations: 0 / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.004289, allocations: 7.922 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.004293, allocations: 4 kB / 0.9841 GB, free: 15.14 MB / 0.948 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 5.477e-05/0.004348, allocations: 117.8 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.004369, allocations: 11.91 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.959e-05/0.004389, allocations: 19.86 kB / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.004391, allocations: 0 / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.004395, allocations: 3.938 kB / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.004398, allocations: 0 / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.004647, allocations: 429.9 kB / 0.9846 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.004648, allocations: 0 / 0.9846 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.5e-05/0.004663, allocations: 11.88 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.004665, allocations: 0 / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.004671, allocations: 8 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.004672, allocations: 3.938 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.004673, allocations: 4.062 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.37e-05/0.004727, allocations: 77.94 kB / 0.9847 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.004745, allocations: 11.89 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.004756, allocations: 4 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-06/0.004765, allocations: 0 / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.004777, allocations: 7.922 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-06/0.004779, allocations: 0 / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.275e-05/0.004832, allocations: 122.1 kB / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004832, allocations: 0 / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000117/0.004949, allocations: 12 kB / 0.9849 GB, free: 14.23 MB / 0.948 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.0002279/0.005177, allocations: 0.6133 MB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.502e-05/0.005252, allocations: 15.94 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.005254, allocations: 0 / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.671e-06/0.005259, allocations: 4 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/0.005376, allocations: 11.91 kB / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008475/0.006224, allocations: 1.343 MB / 0.9868 GB, free: 12.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.469e-05/0.006268, allocations: 83.31 kB / 0.9869 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.722e-05/0.006296, allocations: 4.5 kB / 0.9869 GB, free: 11.99 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.006339, allocations: 28.48 kB / 0.9869 GB, free: 11.96 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/0.00634, allocations: 0 / 0.9869 GB, free: 11.96 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.02445, allocations: 2.23 MB / 0.9891 GB, free: 9.875 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.632/6.656, allocations: 10.52 kB / 0.9891 GB, free: 9.871 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.7366331377998]