Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.0008436/0.0008436, 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.0008673/0.0008673, allocations: 165.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.8978/0.8978, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.729/1.729, allocations: 377.9 MB / 0.6221 GB, free: 8.66 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_bar,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.906e-05, allocations: 9.312 kB / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001458/0.001488, allocations: 0.7984 MB / 0.9818 GB, free: 1.789 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001016/0.001589, allocations: 35.84 kB / 0.9818 GB, free: 1.754 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.001634, allocations: 4 kB / 0.9818 GB, free: 1.75 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.001667, allocations: 11.86 kB / 0.9818 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.978e-05/0.001737, allocations: 15.81 kB / 0.9818 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.873e-05/0.001776, allocations: 19.98 kB / 0.9818 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.999e-05/0.001866, allocations: 67.77 kB / 0.9819 GB, free: 1.637 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.001986, allocations: 23.97 kB / 0.9819 GB, free: 1.613 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.598e-05/0.002052, allocations: 43.89 kB / 0.982 GB, free: 1.57 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.786e-05/0.0021, allocations: 15.92 kB / 0.982 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.002122, allocations: 4 kB / 0.982 GB, free: 1.551 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.285e-06/0.002131, allocations: 8 kB / 0.982 GB, free: 1.543 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.002149, allocations: 15.92 kB / 0.982 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.002174, allocations: 19.92 kB / 0.982 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.002276, allocations: 75.69 kB / 0.9821 GB, free: 1.434 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.002279, allocations: 8 kB / 0.9821 GB, free: 1.426 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.132e-06/0.00228, allocations: 0 / 0.9821 GB, free: 1.426 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.002283, allocations: 0 / 0.9821 GB, free: 1.426 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.0003394/0.002623, allocations: 302 kB / 0.9824 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.002662, allocations: 8.031 kB / 0.9824 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.219e-05/0.002694, allocations: 42.73 kB / 0.9824 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.28e-05/0.002717, allocations: 12.84 kB / 0.9825 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.002866, allocations: 133.6 kB / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.002876, allocations: 8.375 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.002886, allocations: 8.375 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.003008, allocations: 95.89 kB / 0.9827 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.003014, allocations: 192 / 0.9827 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.003026, allocations: 12.34 kB / 0.9827 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.003032, allocations: 8.062 kB / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.63e-05/0.003088, allocations: 35.98 kB / 0.9827 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.00348, allocations: 395.8 kB / 0.9831 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.818e-05/0.003528, allocations: 33.22 kB / 0.9832 GB, free: 216 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.003558, allocations: 21.86 kB / 0.9832 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.625e-06/0.003565, allocations: 7.938 kB / 0.9832 GB, free: 180 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.003584, allocations: 34.56 kB / 0.9832 GB, free: 136 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.003585, allocations: 0 / 0.9832 GB, free: 136 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001333/0.003718, allocations: 49.59 kB / 0.9833 GB, free: 80 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.00377, allocations: 81.05 kB / 0.9833 GB, free: 15.98 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.003874, allocations: 160.3 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.003886, allocations: 25.7 kB / 0.9835 GB, free: 15.79 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/0.003936, allocations: 112 kB / 0.9836 GB, free: 15.67 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-06/0.003943, allocations: 7.891 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.00397, allocations: 13.97 kB / 0.9836 GB, free: 15.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.344e-05/0.004043, allocations: 322.8 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.004056, allocations: 8 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.848e-05/0.004075, allocations: 21.7 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.311e-05/0.004108, allocations: 29.66 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.00411, allocations: 0 / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.598e-05/0.004166, allocations: 49.66 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.00418, allocations: 11.98 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.004184, allocations: 0 / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.004197, allocations: 4.062 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.615e-05/0.004253, allocations: 11.88 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.004258, allocations: 4 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.004274, allocations: 4 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.004279, allocations: 7.938 kB / 0.9841 GB, free: 15.15 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.937e-05/0.004339, allocations: 113.8 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.00436, allocations: 11.91 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.803e-05/0.004379, allocations: 7.797 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.004382, allocations: 4 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.004387, allocations: 3.938 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.004389, allocations: 4 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.004634, allocations: 433.9 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.004635, allocations: 0 / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.311e-05/0.004648, allocations: 7.938 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.00465, allocations: 0 / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.004655, allocations: 0 / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.004656, allocations: 4 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.004657, allocations: 3.938 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.998e-05/0.004707, allocations: 77.88 kB / 0.9847 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.004725, allocations: 15.98 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.004736, allocations: 7.984 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-06/0.004745, allocations: 4 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.004756, allocations: 4 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.004757, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.553e-05/0.004823, allocations: 122.1 kB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004823, allocations: 0 / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001192/0.004942, allocations: 11.94 kB / 0.9849 GB, free: 14.25 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.0002539/0.005196, allocations: 0.617 MB / 0.9855 GB, free: 13.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.728e-05/0.005263, allocations: 20.03 kB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.005265, allocations: 0 / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.634e-06/0.005273, allocations: 11.94 kB / 0.9855 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/0.005387, 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.0008354/0.006223, allocations: 1.338 MB / 0.9869 GB, free: 12.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.193e-05/0.006275, allocations: 83.52 kB / 0.9869 GB, free: 12.01 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.791e-05/0.006303, allocations: 4.5 kB / 0.9869 GB, free: 12.01 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.006346, allocations: 24.48 kB / 0.987 GB, free: 11.98 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.006347, allocations: 4 kB / 0.987 GB, free: 11.98 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.02239, allocations: 2.227 MB / 0.9891 GB, free: 9.891 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.708/6.731, allocations: 13 kB / 0.9891 GB, free: 9.887 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.79560336470604]