Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.0009196/0.0009196, 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.001287/0.001287, 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.9104/0.9104, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.718/1.718, allocations: 377.8 MB / 0.6221 GB, free: 8.652 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_gal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 3.938 kB / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.504e-05, allocations: 2.281 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002048/0.002073, allocations: 0.8012 MB / 0.9818 GB, free: 1.762 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001309/0.002204, allocations: 39.84 kB / 0.9818 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/0.002261, allocations: 3.938 kB / 0.9818 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.178e-05/0.002303, allocations: 11.92 kB / 0.9818 GB, free: 1.707 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.982e-05/0.002382, allocations: 7.875 kB / 0.9818 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 5.202e-05/0.002434, allocations: 19.97 kB / 0.9818 GB, free: 1.68 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.002552, allocations: 63.78 kB / 0.9819 GB, free: 1.617 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.00271, allocations: 35.92 kB / 0.9819 GB, free: 1.582 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.999e-05/0.00278, allocations: 35.91 kB / 0.982 GB, free: 1.547 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.923e-05/0.00283, allocations: 19.91 kB / 0.982 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.002852, allocations: 8 kB / 0.982 GB, free: 1.52 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.951e-06/0.002858, allocations: 4 kB / 0.982 GB, free: 1.516 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.002875, allocations: 19.92 kB / 0.982 GB, free: 1.496 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.002902, allocations: 15.92 kB / 0.982 GB, free: 1.48 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.226e-05/0.002994, allocations: 71.75 kB / 0.9821 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002996, allocations: 0 / 0.9821 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.303e-06/0.002997, allocations: 3.938 kB / 0.9821 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.347e-06/0.003001, allocations: 0 / 0.9821 GB, free: 1.406 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.0003156/0.003316, allocations: 306 kB / 0.9824 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.003354, allocations: 12.03 kB / 0.9824 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.891e-05/0.003383, allocations: 38.73 kB / 0.9824 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.123e-05/0.003404, allocations: 12.84 kB / 0.9825 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.003543, allocations: 133.6 kB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.003552, allocations: 12.38 kB / 0.9826 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.003561, allocations: 4.375 kB / 0.9826 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.00368, allocations: 95.89 kB / 0.9827 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.003687, allocations: 192 / 0.9827 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.003696, allocations: 384 / 0.9827 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.003701, allocations: 12.06 kB / 0.9827 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.453e-05/0.003755, allocations: 35.98 kB / 0.9827 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.004173, allocations: 399.7 kB / 0.9831 GB, free: 248 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.713e-05/0.004221, allocations: 37.22 kB / 0.9831 GB, free: 192 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.004248, allocations: 21.81 kB / 0.9832 GB, free: 164 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.004256, allocations: 7.984 kB / 0.9832 GB, free: 156 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.004275, allocations: 30.56 kB / 0.9832 GB, free: 116 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.004276, allocations: 0 / 0.9832 GB, free: 116 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001304/0.004406, allocations: 53.59 kB / 0.9833 GB, free: 56 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.004452, allocations: 85.05 kB / 0.9833 GB, free: 15.95 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.004559, allocations: 160.3 kB / 0.9835 GB, free: 15.79 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.004568, allocations: 25.7 kB / 0.9835 GB, free: 15.76 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.004615, allocations: 104 kB / 0.9836 GB, free: 15.65 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.464e-06/0.004622, allocations: 7.953 kB / 0.9836 GB, free: 15.64 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.00465, allocations: 13.72 kB / 0.9836 GB, free: 15.62 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.98e-05/0.00472, allocations: 322.8 kB / 0.9839 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.004734, allocations: 8 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.712e-05/0.004751, allocations: 17.95 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.32e-05/0.004784, allocations: 33.66 kB / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.004786, allocations: 0 / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.403e-05/0.00484, allocations: 53.66 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.004852, allocations: 7.938 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.004858, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.004869, allocations: 3.984 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.915e-05/0.004918, allocations: 11.94 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.004923, allocations: 0 / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/0.004941, allocations: 12 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.004944, allocations: 3.938 kB / 0.9841 GB, free: 15.13 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.409e-05/0.004998, allocations: 113.8 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.00502, allocations: 11.91 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.005038, allocations: 15.8 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.00504, allocations: 96 / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.005045, allocations: 3.938 kB / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.005049, allocations: 3.984 kB / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.00529, allocations: 429.9 kB / 0.9846 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.005291, allocations: 8.062 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.225e-05/0.005304, allocations: 3.938 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.005306, allocations: 4 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.005313, allocations: 4 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.005314, allocations: 0 / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.005315, allocations: 3.938 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.134e-05/0.005366, allocations: 81.88 kB / 0.9847 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.005384, allocations: 11.89 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-06/0.005394, allocations: 4 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.717e-06/0.005402, allocations: 0 / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.005413, allocations: 8.016 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.005416, allocations: 4 kB / 0.9848 GB, free: 14.35 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.093e-05/0.005477, allocations: 126.1 kB / 0.9849 GB, free: 14.23 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005477, allocations: 0 / 0.9849 GB, free: 14.23 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001191/0.005596, allocations: 4 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.0002266/0.005822, allocations: 0.6132 MB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.582e-05/0.005888, allocations: 12 kB / 0.9855 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.005891, allocations: 4 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.953e-06/0.005898, allocations: 12.09 kB / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001102/0.006008, allocations: 10.56 kB / 0.9855 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008906/0.006898, allocations: 1.343 MB / 0.9868 GB, free: 12.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.344e-05/0.006942, allocations: 79.31 kB / 0.9869 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.803e-05/0.00697, allocations: 8.625 kB / 0.9869 GB, free: 11.99 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.007013, allocations: 28.48 kB / 0.987 GB, free: 11.96 MB / 0.948 GB Notification: Performance of SimCode: time 4.21e-07/0.007014, allocations: 0 / 0.987 GB, free: 11.96 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/0.02145, allocations: 2.225 MB / 0.9891 GB, free: 9.875 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.755/6.776, allocations: 7.094 kB / 0.9891 GB, free: 9.875 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.803434629924595]