Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008448/0.0008448, 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.000903/0.000903, allocations: 170.3 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.8995/0.8995, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.794/1.794, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.005e-06/3.005e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.236e-05, allocations: 4.531 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002159/0.002191, allocations: 0.7868 MB / 1 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001402/0.002331, allocations: 39.84 kB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.002393, allocations: 3.938 kB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.532e-05/0.002438, allocations: 11.86 kB / 1.001 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.471e-05/0.002523, allocations: 11.86 kB / 1.001 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 5.316e-05/0.002576, allocations: 19.98 kB / 1.001 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.002701, allocations: 63.78 kB / 1.001 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.002852, allocations: 23.97 kB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.714e-05/0.002939, allocations: 39.91 kB / 1.001 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.543e-05/0.003005, allocations: 23.91 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.003035, allocations: 4 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.003045, allocations: 8 kB / 1.001 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.003068, allocations: 15.92 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.003103, allocations: 19.92 kB / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.003244, allocations: 71.75 kB / 1.001 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.003247, allocations: 3.938 kB / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.222e-06/0.003248, allocations: 0 / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.003253, allocations: 0 / 1.001 GB, free: 12.36 MB / 0.9636 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.0004553/0.003708, allocations: 313.9 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.003761, allocations: 8.75 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.53e-05/0.003806, allocations: 42.73 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.033e-05/0.003836, allocations: 8.891 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.004038, allocations: 125.7 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.004053, allocations: 8.375 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.004066, allocations: 4.375 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.004226, allocations: 101.8 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.004235, allocations: 192 / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.004245, allocations: 384 / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.004254, allocations: 8.125 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.533e-05/0.004329, allocations: 39.98 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.004845, allocations: 395.7 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.047e-05/0.004905, allocations: 37.16 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.004942, allocations: 25.88 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.914e-06/0.00495, allocations: 0 / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.004978, allocations: 38.55 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.004979, allocations: 0 / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001912/0.005171, allocations: 53.69 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.005218, allocations: 81.05 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.005362, allocations: 161.6 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.005377, allocations: 25.7 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.952e-05/0.005446, allocations: 104 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.025e-05/0.005456, allocations: 15.89 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.005492, allocations: 13.72 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.005595, allocations: 318.8 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.094e-05/0.005616, allocations: 8 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.783e-05/0.005644, allocations: 21.7 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.984e-05/0.005694, allocations: 41.8 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.005696, allocations: 3.938 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.64e-05/0.005782, allocations: 49.66 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.005799, allocations: 8 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.005805, allocations: 0 / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.00582, allocations: 3.938 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.811e-05/0.005888, allocations: 11.92 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.005895, allocations: 7.984 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.946e-05/0.005925, allocations: 11.89 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.005934, allocations: 4.062 kB / 1.003 GB, free: 10.07 MB / 0.9636 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.398e-05/0.005998, allocations: 109.8 kB / 1.003 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.006022, allocations: 11.95 kB / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.952e-05/0.006042, allocations: 7.812 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.006045, allocations: 3.984 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.006051, allocations: 7.938 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.006054, allocations: 0 / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.006319, allocations: 433.9 kB / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.006321, allocations: 0 / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.384e-05/0.006335, allocations: 12 kB / 1.003 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.006336, allocations: 0 / 1.003 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.006341, allocations: 0 / 1.003 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.006344, allocations: 4 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006345, allocations: 0 / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.478e-05/0.006399, allocations: 78.66 kB / 1.003 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.006421, allocations: 15.84 kB / 1.003 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.00643, allocations: 0 / 1.003 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.076e-05/0.006441, allocations: 4 kB / 1.003 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.006454, allocations: 3.984 kB / 1.003 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.006455, allocations: 4.031 kB / 1.003 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.257e-05/0.006518, allocations: 125.5 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006518, allocations: 0 / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001273/0.006645, allocations: 8 kB / 1.004 GB, free: 9.176 MB / 0.9636 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.0002516/0.006897, allocations: 0.6093 MB / 1.004 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.619e-05/0.006973, allocations: 16 kB / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.006975, allocations: 0 / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.077e-06/0.006984, allocations: 12.16 kB / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.007105, allocations: 12 kB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008592/0.007964, allocations: 1.338 MB / 1.006 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.61e-05/0.00801, allocations: 83.25 kB / 1.006 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.87e-05/0.008039, allocations: 8.484 kB / 1.006 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.008083, allocations: 32.48 kB / 1.006 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/0.008083, allocations: 0 / 1.006 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.02427, allocations: 2.233 MB / 1.008 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.931/6.955, allocations: 5.203 kB / 1.008 GB, free: 4.801 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.175245847553015]