Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.0008582/0.0008582, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009504/0.0009504, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9241/0.9241, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.719/1.719, allocations: 377.8 MB / 0.6221 GB, free: 8.672 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_BtuPerHour,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 3.938 kB / 0.981 GB, free: 1.445 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.745e-05, allocations: 6.219 kB / 0.981 GB, free: 1.438 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002292/0.00232, allocations: 0.7867 MB / 0.9817 GB, free: 0.6484 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0001617/0.002481, allocations: 47.78 kB / 0.9818 GB, free: 0.6016 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.878e-05/0.00254, allocations: 0 / 0.9818 GB, free: 0.6016 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 4.425e-05/0.002584, allocations: 7.875 kB / 0.9818 GB, free: 0.5938 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 9.838e-05/0.002683, allocations: 11.86 kB / 0.9818 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 4.895e-05/0.002732, allocations: 19.98 kB / 0.9818 GB, free: 0.5625 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.002844, allocations: 63.84 kB / 0.9819 GB, free: 0.5 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.002989, allocations: 31.97 kB / 0.9819 GB, free: 480 kB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 7.856e-05/0.003067, allocations: 35.91 kB / 0.982 GB, free: 444 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 5.94e-05/0.003127, allocations: 19.91 kB / 0.982 GB, free: 424 kB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.003152, allocations: 4 kB / 0.982 GB, free: 420 kB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.003163, allocations: 12 kB / 0.982 GB, free: 408 kB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.003183, allocations: 11.92 kB / 0.982 GB, free: 396 kB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.003216, allocations: 23.92 kB / 0.982 GB, free: 372 kB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.003331, allocations: 75.64 kB / 0.9821 GB, free: 296 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.003333, allocations: 0 / 0.9821 GB, free: 296 kB / 0.8855 GB Notification: Performance of FrontEnd: time 1.372e-06/0.003334, allocations: 0 / 0.9821 GB, free: 296 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.003339, allocations: 0 / 0.9821 GB, free: 296 kB / 0.8855 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.0003845/0.003724, allocations: 306 kB / 0.9824 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.00377, allocations: 8.031 kB / 0.9824 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.64e-05/0.003806, allocations: 38.75 kB / 0.9824 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.003832, allocations: 16.78 kB / 0.9824 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.003995, allocations: 141.6 kB / 0.9826 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.004006, allocations: 4.375 kB / 0.9826 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.004018, allocations: 12.38 kB / 0.9826 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.004141, allocations: 90.05 kB / 0.9827 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.004149, allocations: 192 / 0.9827 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.00416, allocations: 8.312 kB / 0.9827 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.004166, allocations: 8.125 kB / 0.9827 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.206e-05/0.004228, allocations: 35.92 kB / 0.9827 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.004629, allocations: 399.7 kB / 0.9831 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.868e-05/0.004678, allocations: 41.34 kB / 0.9832 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.004706, allocations: 17.78 kB / 0.9832 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.004714, allocations: 0 / 0.9832 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.004736, allocations: 34.56 kB / 0.9832 GB, free: 15 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.004737, allocations: 0 / 0.9832 GB, free: 15 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001355/0.004873, allocations: 53.58 kB / 0.9833 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.004911, allocations: 85.05 kB / 0.9833 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.005025, allocations: 154.3 kB / 0.9835 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.005035, allocations: 25.95 kB / 0.9835 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.005098, allocations: 112.1 kB / 0.9836 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.624e-06/0.005106, allocations: 7.891 kB / 0.9836 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.005141, allocations: 21.67 kB / 0.9836 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.005249, allocations: 322.8 kB / 0.984 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.005265, allocations: 4 kB / 0.984 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-05/0.005287, allocations: 21.72 kB / 0.984 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.45e-05/0.005322, allocations: 21.72 kB / 0.984 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.005324, allocations: 0 / 0.984 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.726e-05/0.005391, allocations: 65.58 kB / 0.9841 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.005407, allocations: 8 kB / 0.9841 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.005413, allocations: 0 / 0.9841 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.005428, allocations: 0 / 0.9841 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.965e-05/0.005488, allocations: 7.938 kB / 0.9841 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.005493, allocations: 4 kB / 0.9841 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.005512, allocations: 7.922 kB / 0.9841 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.005517, allocations: 4 kB / 0.9841 GB, free: 14.01 MB / 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 6.618e-05/0.005584, allocations: 113.8 kB / 0.9842 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.005607, allocations: 7.953 kB / 0.9842 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.071e-05/0.005627, allocations: 15.81 kB / 0.9842 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.00563, allocations: 4.094 kB / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.005636, allocations: 3.938 kB / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.00564, allocations: 3.984 kB / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.005923, allocations: 437.9 kB / 0.9847 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.005925, allocations: 0 / 0.9847 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.406e-05/0.005939, allocations: 7.938 kB / 0.9847 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.00594, allocations: 0 / 0.9847 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.005947, allocations: 0 / 0.9847 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.005947, allocations: 7.938 kB / 0.9847 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.005948, allocations: 4.062 kB / 0.9847 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.549e-05/0.006014, allocations: 73.94 kB / 0.9847 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.006036, allocations: 19.89 kB / 0.9848 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.006047, allocations: 0 / 0.9848 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.118e-06/0.006056, allocations: 4 kB / 0.9848 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.006071, allocations: 3.938 kB / 0.9848 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.006073, allocations: 0 / 0.9848 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 7.183e-05/0.006145, allocations: 121.9 kB / 0.9849 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.006145, allocations: 0 / 0.9849 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001295/0.006275, allocations: 8 kB / 0.9849 GB, free: 13.11 MB / 0.9011 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.0002333/0.006508, allocations: 0.6172 MB / 0.9855 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 6.708e-05/0.006575, allocations: 23.86 kB / 0.9855 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.006576, allocations: 0 / 0.9855 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 6.041e-06/0.006583, allocations: 4 kB / 0.9855 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001111/0.006694, allocations: 9.203 kB / 0.9855 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000845/0.007539, allocations: 1.347 MB / 0.9868 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.303e-05/0.007582, allocations: 79.33 kB / 0.9869 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.752e-05/0.007609, allocations: 8.484 kB / 0.9869 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.007651, allocations: 28.48 kB / 0.987 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of SimCode: time 5.41e-07/0.007651, allocations: 0 / 0.987 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/0.02167, allocations: 2.24 MB / 0.9891 GB, free: 8.746 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.721/6.743, allocations: 8.5 kB / 0.9892 GB, free: 8.742 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.778090645559132]