Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001187/0.001187, 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.001026/0.001026, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9175/0.9175, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.685/1.685, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.To_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.833e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002023/0.002051, allocations: 0.7895 MB / 0.9513 GB, free: 2.688 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001397/0.002191, allocations: 39.78 kB / 0.9513 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.002245, allocations: 8 kB / 0.9513 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.357e-05/0.002288, allocations: 7.875 kB / 0.9513 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.666e-05/0.002365, allocations: 11.92 kB / 0.9513 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.391e-05/0.002409, allocations: 19.97 kB / 0.9514 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.002536, allocations: 63.78 kB / 0.9514 GB, free: 2.539 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.002649, allocations: 23.98 kB / 0.9515 GB, free: 2.516 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.634e-05/0.002735, allocations: 39.89 kB / 0.9515 GB, free: 2.477 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.204e-05/0.002777, allocations: 23.91 kB / 0.9515 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.002802, allocations: 4 kB / 0.9515 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.002813, allocations: 8 kB / 0.9515 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.002831, allocations: 15.92 kB / 0.9515 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.002863, allocations: 23.92 kB / 0.9516 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.002974, allocations: 75.64 kB / 0.9516 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.002976, allocations: 0 / 0.9516 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002977, allocations: 3.938 kB / 0.9516 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.002981, allocations: 3.984 kB / 0.9516 GB, free: 2.32 MB / 0.9011 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.0003456/0.003327, allocations: 302 kB / 0.9519 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.003366, allocations: 11.97 kB / 0.9519 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.003403, allocations: 42.73 kB / 0.952 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.003427, allocations: 12.84 kB / 0.952 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.003595, allocations: 145.5 kB / 0.9521 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.003606, allocations: 384 / 0.9521 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.003621, allocations: 12.38 kB / 0.9521 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.003769, allocations: 83.95 kB / 0.9522 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.003778, allocations: 192 / 0.9522 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.00379, allocations: 4.375 kB / 0.9522 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.003797, allocations: 8.125 kB / 0.9522 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.003922, allocations: 39.92 kB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.004418, allocations: 395.8 kB / 0.9527 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.571e-05/0.004474, allocations: 41.25 kB / 0.9527 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.348e-05/0.004508, allocations: 17.78 kB / 0.9527 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.004516, allocations: 0 / 0.9527 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.004543, allocations: 38.56 kB / 0.9527 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.004544, allocations: 0 / 0.9527 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001589/0.004703, allocations: 53.58 kB / 0.9528 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.004745, allocations: 81.05 kB / 0.9529 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.004883, allocations: 161 kB / 0.953 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.004894, allocations: 25.7 kB / 0.9531 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.004959, allocations: 112.3 kB / 0.9532 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.234e-06/0.004966, allocations: 3.938 kB / 0.9532 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.005002, allocations: 21.67 kB / 0.9532 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.304e-05/0.005095, allocations: 318.8 kB / 0.9535 GB, free: 220 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.431e-05/0.005109, allocations: 4 kB / 0.9535 GB, free: 216 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.508e-05/0.005134, allocations: 25.66 kB / 0.9535 GB, free: 184 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.689e-05/0.005171, allocations: 21.72 kB / 0.9535 GB, free: 156 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.005173, allocations: 0 / 0.9535 GB, free: 156 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.448e-05/0.005257, allocations: 65.7 kB / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.005272, allocations: 8 kB / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.005277, allocations: 0 / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.005287, allocations: 7.922 kB / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.398e-05/0.005341, allocations: 7.938 kB / 0.9536 GB, free: 60 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.005347, allocations: 7.984 kB / 0.9536 GB, free: 52 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.00537, allocations: 0 / 0.9536 GB, free: 52 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.005374, allocations: 4 kB / 0.9536 GB, free: 48 kB / 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 8.098e-05/0.005455, allocations: 117.8 kB / 0.9537 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.005494, allocations: 11.91 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.007e-05/0.005514, allocations: 11.84 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.005518, allocations: 4 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.005524, allocations: 3.938 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.005526, allocations: 0 / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.005952, allocations: 433.9 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.005953, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.672e-05/0.00598, allocations: 7.938 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.005982, allocations: 0 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.005988, allocations: 3.938 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.005989, allocations: 4 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.005991, allocations: 4.062 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.032e-05/0.006061, allocations: 73.94 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.006089, allocations: 15.89 kB / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.006102, allocations: 0 / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.079e-05/0.006122, allocations: 4 kB / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.006133, allocations: 0 / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.006136, allocations: 4 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.02e-05/0.006216, allocations: 122.3 kB / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1e-07/0.006216, allocations: 0 / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002211/0.006437, allocations: 11.94 kB / 0.9544 GB, free: 15.14 MB / 0.9167 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.0003432/0.00678, allocations: 0.6171 MB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.239e-05/0.006873, allocations: 23.92 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006874, allocations: 0 / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.575e-05/0.00689, allocations: 4 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.00701, allocations: 8 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009426/0.007953, allocations: 1.337 MB / 0.9564 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.865e-05/0.008002, allocations: 79.33 kB / 0.9564 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.464e-05/0.008026, allocations: 8.484 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.008067, allocations: 28.42 kB / 0.9565 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of SimCode: time 2.8e-07/0.008068, allocations: 0 / 0.9565 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/0.02212, allocations: 2.236 MB / 0.9587 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.635/6.657, allocations: 8 kB / 0.9587 GB, free: 10.78 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.736396479420364]