Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001657/0.001657, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.002502/0.002502, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.548/1.548, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 3.044/3.044, allocations: 0.49 GB / 0.7923 GB, free: 1.305 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.To_gal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_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.002234/0.002234, allocations: 71.89 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9232/0.9254, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001841/0.9272, allocations: 0.8259 MB / 1.322 GB, free: 24.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 9.429e-05/0.9273, allocations: 41.02 kB / 1.322 GB, free: 24.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.083e-05/0.9274, allocations: 3.031 kB / 1.322 GB, free: 24.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.659e-05/0.9274, allocations: 7.875 kB / 1.322 GB, free: 24.19 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.213e-05/0.9275, allocations: 11.12 kB / 1.322 GB, free: 24.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.044e-05/0.9275, allocations: 17.8 kB / 1.322 GB, free: 24.17 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.9276, allocations: 68.77 kB / 1.322 GB, free: 24.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.9278, allocations: 26.02 kB / 1.322 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.775e-05/0.9278, allocations: 27.38 kB / 1.322 GB, free: 24.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.345e-05/0.9279, allocations: 31.11 kB / 1.323 GB, free: 24.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.9279, allocations: 7.781 kB / 1.323 GB, free: 24.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.745e-06/0.9279, allocations: 5.469 kB / 1.323 GB, free: 24.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.9279, allocations: 17.78 kB / 1.323 GB, free: 24.08 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.9279, allocations: 31.83 kB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.906e-05/0.928, allocations: 82.77 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.928, allocations: 0 / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.783e-06/0.928, allocations: 0 / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.928, allocations: 0 / 1.323 GB, free: 24.02 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.0003267/0.9284, allocations: 391.4 kB / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.9284, allocations: 11.61 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.619e-05/0.9284, allocations: 2.844 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.124e-05/0.9284, allocations: 37.16 kB / 1.323 GB, free: 23.57 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.9285, allocations: 14.08 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.9286, allocations: 197.4 kB / 1.323 GB, free: 23.35 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.9286, allocations: 10.97 kB / 1.323 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.9286, allocations: 5.406 kB / 1.323 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.9288, allocations: 98.56 kB / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.9288, allocations: 0 / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.9288, allocations: 2.938 kB / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.9288, allocations: 3.938 kB / 1.323 GB, free: 23.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.684e-05/0.9288, allocations: 41.66 kB / 1.323 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.9293, allocations: 437.4 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.201e-05/0.9293, allocations: 46.56 kB / 1.324 GB, free: 22.78 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.9294, allocations: 23.12 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.9294, allocations: 0 / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.9294, allocations: 37.45 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.9294, allocations: 0 / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001851/0.9296, allocations: 55.39 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.9296, allocations: 79.77 kB / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.9297, allocations: 169.2 kB / 1.324 GB, free: 22.45 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.9298, allocations: 29.7 kB / 1.324 GB, free: 22.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.9298, allocations: 100.6 kB / 1.324 GB, free: 22.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.185e-06/0.9298, allocations: 3.953 kB / 1.324 GB, free: 22.32 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.9298, allocations: 22.17 kB / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.9299, allocations: 314.8 kB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.874e-05/0.9299, allocations: 7.875 kB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.826e-05/0.9299, allocations: 18.94 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.54e-05/0.93, allocations: 29.34 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.93, allocations: 0 / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.12e-05/0.9301, allocations: 58.8 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.9301, allocations: 8.969 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.9301, allocations: 0 / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.9301, allocations: 2.625 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.698e-05/0.9302, allocations: 7.719 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.9302, allocations: 4.062 kB / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.9302, allocations: 10.55 kB / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.9302, allocations: 2.219 kB / 1.325 GB, free: 21.88 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 6.396e-05/0.9303, allocations: 116.4 kB / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.9303, allocations: 17.23 kB / 1.325 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.9303, allocations: 14.28 kB / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.9303, allocations: 0 / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.9303, allocations: 0 / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.9304, allocations: 0 / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.9306, allocations: 476.5 kB / 1.325 GB, free: 21.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.9306, allocations: 3.938 kB / 1.325 GB, free: 21.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.745e-05/0.9307, allocations: 2.875 kB / 1.325 GB, free: 21.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9307, allocations: 3.281 kB / 1.325 GB, free: 21.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.9307, allocations: 3.094 kB / 1.325 GB, free: 21.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.9307, allocations: 3.984 kB / 1.325 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.9307, allocations: 0 / 1.325 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.209e-05/0.9307, allocations: 81.53 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.107e-05/0.9308, allocations: 91.69 kB / 1.326 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.9308, allocations: 6.906 kB / 1.326 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.991e-05/0.9308, allocations: 96 / 1.326 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.9308, allocations: 11.39 kB / 1.326 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.9308, allocations: 3.156 kB / 1.326 GB, free: 21.03 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.954e-05/0.9309, allocations: 121.6 kB / 1.326 GB, free: 20.94 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9309, allocations: 0 / 1.326 GB, free: 20.94 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001841/0.9311, allocations: 5.812 kB / 1.326 GB, free: 20.94 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.0002685/0.9313, allocations: 0.6107 MB / 1.326 GB, free: 20.33 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.828e-05/0.9314, allocations: 23.81 kB / 1.326 GB, free: 20.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9314, allocations: 0 / 1.326 GB, free: 20.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.827e-06/0.9314, allocations: 3.062 kB / 1.326 GB, free: 20.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.9316, allocations: 11.61 kB / 1.326 GB, free: 20.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008184/0.9324, allocations: 1.333 MB / 1.328 GB, free: 19.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.549e-05/0.9325, allocations: 0.6928 MB / 1.328 GB, free: 18.39 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.769e-05/0.9325, allocations: 9.922 kB / 1.328 GB, free: 18.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.9326, allocations: 22.06 kB / 1.328 GB, free: 18.38 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.9326, allocations: 0 / 1.328 GB, free: 18.38 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.9519, allocations: 1.624 MB / 1.33 GB, free: 17.97 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.485/9.436, allocations: 12.08 kB / 1.33 GB, free: 17.96 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.22297148098005]