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.001417/0.001417, allocations: 116.8 kB / 17.17 MB, free: 6.02 MB / 14.72 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.00159/0.00159, allocations: 210.9 kB / 20.13 MB, free: 3.074 MB / 14.72 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 1.54/1.54, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.921/2.921, allocations: 0.49 GB / 0.7923 GB, free: 1.238 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 69.78 kB / 1.15 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9742/0.9765, allocations: 176.1 MB / 1.321 GB, free: 24.7 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001932/0.9784, allocations: 0.8266 MB / 1.322 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001216/0.9785, allocations: 48.8 kB / 1.322 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.386e-05/0.9786, allocations: 0 / 1.322 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.578e-05/0.9786, allocations: 7.875 kB / 1.322 GB, free: 24.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.823e-05/0.9787, allocations: 9.922 kB / 1.322 GB, free: 24.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.08e-05/0.9787, allocations: 18.17 kB / 1.322 GB, free: 24.1 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.9789, allocations: 63.41 kB / 1.322 GB, free: 24.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.979, allocations: 25.33 kB / 1.322 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.993e-05/0.979, allocations: 31.42 kB / 1.322 GB, free: 24.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.356e-05/0.9791, allocations: 28.19 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.9791, allocations: 8.219 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-06/0.9791, allocations: 4.875 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.9791, allocations: 22.5 kB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.9792, allocations: 36.53 kB / 1.323 GB, free: 23.97 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.9793, allocations: 76.97 kB / 1.323 GB, free: 23.94 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.9793, allocations: 2.5 kB / 1.323 GB, free: 23.94 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.704e-06/0.9793, allocations: 0 / 1.323 GB, free: 23.94 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.9793, allocations: 0 / 1.323 GB, free: 23.94 MB / 1.061 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.0003979/0.9797, allocations: 384.3 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.9797, allocations: 11.86 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.99e-05/0.9798, allocations: 6.812 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.709e-05/0.9798, allocations: 40.56 kB / 1.323 GB, free: 23.49 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.9798, allocations: 9.953 kB / 1.323 GB, free: 23.49 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.98, allocations: 196.7 kB / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.98, allocations: 7 kB / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.98, allocations: 5.594 kB / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.9802, allocations: 100.5 kB / 1.323 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.9802, allocations: 0 / 1.323 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.9802, allocations: 4 kB / 1.323 GB, free: 23.19 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.9802, allocations: 2.812 kB / 1.323 GB, free: 23.19 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.995e-05/0.9803, allocations: 38.36 kB / 1.323 GB, free: 23.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.9807, allocations: 429.5 kB / 1.324 GB, free: 22.78 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.942e-05/0.9808, allocations: 47.27 kB / 1.324 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.931e-05/0.9808, allocations: 23.44 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-06/0.9808, allocations: 0 / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.399e-05/0.9808, allocations: 37.34 kB / 1.324 GB, free: 22.65 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.9808, allocations: 0 / 1.324 GB, free: 22.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001743/0.981, allocations: 58.19 kB / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.981, allocations: 81.36 kB / 1.324 GB, free: 22.51 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.9811, allocations: 169.9 kB / 1.324 GB, free: 22.38 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.9812, allocations: 25.7 kB / 1.324 GB, free: 22.35 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.9812, allocations: 100.7 kB / 1.324 GB, free: 22.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.365e-06/0.9812, allocations: 11.41 kB / 1.324 GB, free: 22.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.9812, allocations: 18.81 kB / 1.324 GB, free: 22.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.387e-05/0.9813, allocations: 320.8 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.9813, allocations: 6.438 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.798e-05/0.9813, allocations: 18.94 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.307e-05/0.9814, allocations: 28.98 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.9814, allocations: 4 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.804e-05/0.9814, allocations: 55.5 kB / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.9814, allocations: 9.25 kB / 1.325 GB, free: 21.81 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.9814, allocations: 0 / 1.325 GB, free: 21.81 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.9815, allocations: 7.125 kB / 1.325 GB, free: 21.81 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.9815, allocations: 11.97 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.9815, allocations: 0 / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.05e-05/0.9816, allocations: 10.11 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.9816, allocations: 2.312 kB / 1.325 GB, free: 21.8 MB / 1.061 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 4.948e-05/0.9816, allocations: 116.5 kB / 1.325 GB, free: 21.68 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.9816, allocations: 16.62 kB / 1.325 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/0.9817, allocations: 13.58 kB / 1.325 GB, free: 21.65 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.9817, allocations: 0 / 1.325 GB, free: 21.65 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.9817, allocations: 4 kB / 1.325 GB, free: 21.65 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.9817, allocations: 2.656 kB / 1.325 GB, free: 21.65 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.9819, allocations: 468 kB / 1.325 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.9819, allocations: 3.125 kB / 1.325 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.982, allocations: 6.453 kB / 1.325 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.982, allocations: 0 / 1.325 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.982, allocations: 0 / 1.325 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.982, allocations: 4.062 kB / 1.325 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.982, allocations: 3.062 kB / 1.325 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.892e-05/0.982, allocations: 80.06 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.9821, allocations: 88.19 kB / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.9821, allocations: 3.141 kB / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.065e-05/0.9821, allocations: 2.906 kB / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/0.9821, allocations: 11.91 kB / 1.326 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.9821, allocations: 2.781 kB / 1.326 GB, free: 20.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.325e-05/0.9822, allocations: 116.9 kB / 1.326 GB, free: 20.88 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9822, allocations: 2.906 kB / 1.326 GB, free: 20.88 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001906/0.9824, allocations: 5.875 kB / 1.326 GB, free: 20.88 MB / 1.061 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.0002689/0.9826, allocations: 0.617 MB / 1.326 GB, free: 20.26 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.452e-05/0.9827, allocations: 19.72 kB / 1.326 GB, free: 20.25 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.9827, allocations: 0 / 1.326 GB, free: 20.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.796e-06/0.9828, allocations: 2.781 kB / 1.326 GB, free: 20.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.9829, allocations: 10.78 kB / 1.326 GB, free: 20.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009098/0.9838, allocations: 1.34 MB / 1.328 GB, free: 19.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.9839, allocations: 0.6896 MB / 1.328 GB, free: 18.33 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.349e-05/0.984, allocations: 6.688 kB / 1.328 GB, free: 18.33 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.984, allocations: 25.69 kB / 1.328 GB, free: 18.31 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.984, allocations: 4 kB / 1.328 GB, free: 18.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/1.002, allocations: 1.632 MB / 1.33 GB, free: 17.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.807/9.809, allocations: 12.39 kB / 1.33 GB, free: 17.89 MB / 1.061 GB " [Timeout remaining time 290] (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/jenkins1/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: 16.48391453898512]